0s autopkgtest [22:10:17]: starting date and time: 2026-02-03 22:10:17+0000
0s autopkgtest [22:10:17]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op
0s autopkgtest [22:10:17]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.kq3buh8v/out --timeout-copy=6000 --needs-internet=try --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pcre2 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=pcre2/10.46-1build1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-arm64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-arm64-11.secgroup --name adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-arm64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/
3s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
54s autopkgtest [22:11:11]: testbed dpkg architecture: arm64
54s autopkgtest [22:11:11]: testbed apt version: 3.1.14
55s autopkgtest [22:11:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup
55s autopkgtest [22:11:12]: testbed release detected to be: None
56s autopkgtest [22:11:13]: updating testbed package index (apt update)
56s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
56s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
56s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
56s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
56s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
56s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
56s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
56s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
56s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
56s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
56s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
56s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
56s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
56s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
56s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
56s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
59s Fetched 3322 kB in 1s (4894 kB/s)
60s Reading package lists...
61s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
61s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
61s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
61s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
61s Reading package lists...
61s Reading package lists...
62s Building dependency tree...
62s Reading state information...
62s Calculating upgrade...
62s The following packages will be upgraded:
62s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
62s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
62s Need to get 3280 kB of archives.
62s After this operation, 2048 B of additional disk space will be used.
62s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
63s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
63s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
63s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
63s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
63s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
63s dpkg-preconfigure: unable to re-open stdin: No such file or directory
63s Fetched 3280 kB in 0s (7012 kB/s)
64s (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 ... 89360 files and directories currently installed.)
64s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
64s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
64s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
64s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
64s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
64s (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 ... 89360 files and directories currently installed.)
64s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
64s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
64s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
64s (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 ... 89360 files and directories currently installed.)
64s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
64s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
64s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
64s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
65s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
65s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
65s Setting up powermgmt-base (1.38ubuntu2) ...
65s Setting up firmware-sof-signed (2025.05.1-1build1) ...
65s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
65s Setting up zstd (1.5.7+dfsg-3) ...
65s Processing triggers for man-db (2.13.1-1) ...
66s Processing triggers for libselinux1:arm64 (3.9-4) ...
66s Processing triggers for libc-bin (2.42-2ubuntu4) ...
66s autopkgtest [22:11:23]: upgrading testbed (apt dist-upgrade and autopurge)
66s Reading package lists...
66s Building dependency tree...
66s Reading state information...
67s Calculating upgrade...
67s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
67s Reading package lists...
68s Building dependency tree...
68s Reading state information...
68s Solving dependencies...
68s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
71s autopkgtest [22:11:28]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:41:39 UTC 2026
71s autopkgtest [22:11:28]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
80s Get:1 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (dsc) [4685 B]
80s Get:2 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [661 kB]
80s Get:3 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (tar) [5675 kB]
80s Get:4 http://ftpmaster.internal/ubuntu resolute/main glib2.0 2.86.3-4 (diff) [141 kB]
80s gpgv: Signature made Thu Jan 1 13:00:10 2026 UTC
80s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D
80s gpgv: Can't check signature: No public key
80s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.86.3-4.dsc: no acceptable signature found
81s autopkgtest [22:11:38]: testing package glib2.0 version 2.86.3-4
87s autopkgtest [22:11:44]: build not needed
103s autopkgtest [22:12:00]: test build: preparing testbed
103s Reading package lists...
103s Building dependency tree...
103s Reading state information...
103s Solving dependencies...
104s The following NEW packages will be installed:
104s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu
104s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15
104s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu libasan8 libblkid-dev
104s libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev libgcc-15-dev
104s libgio-2.0-dev libgomp1 libhwasan0 libisl23 libitm1 liblsan0 libmount-dev
104s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
104s libselinux-dev libsepol-dev libstdc++-15-dev libsysprof-capture-4-dev
104s libtsan2 libubsan1 linux-libc-dev pkgconf pkgconf-bin rpcsvc-proto uuid-dev
104s zlib1g-dev
104s 0 upgraded, 46 newly installed, 0 to remove and 0 not upgraded.
104s Need to get 73.4 MB of archives.
104s After this operation, 266 MB of additional disk space will be used.
104s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libc-dev-bin arm64 2.42-2ubuntu4 [22.5 kB]
104s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.18.0-9.9 [1834 kB]
104s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB]
104s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB]
104s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libc6-dev arm64 2.42-2ubuntu4 [1765 kB]
104s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB]
105s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB]
105s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB]
105s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B]
105s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B]
105s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB]
105s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB]
105s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB]
105s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB]
105s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB]
105s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB]
105s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB]
105s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB]
106s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB]
106s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB]
106s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB]
106s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB]
106s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B]
106s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B]
106s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB]
106s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB]
106s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB]
106s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B]
106s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B]
106s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B]
106s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB]
106s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB]
107s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB]
107s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB]
107s Get:35 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-16-0 arm64 10.46-1build1 [220 kB]
107s Get:36 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-32-0 arm64 10.46-1build1 [208 kB]
107s Get:37 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-posix3 arm64 10.46-1build1 [7160 B]
107s Get:38 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-dev arm64 10.46-1build1 [759 kB]
107s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB]
107s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB]
107s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB]
107s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB]
107s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB]
107s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB]
107s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB]
107s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB]
107s Fetched 73.4 MB in 3s (24.8 MB/s)
107s Selecting previously unselected package libc-dev-bin.
107s (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 ... 89360 files and directories currently installed.)
107s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_arm64.deb ...
107s Unpacking libc-dev-bin (2.42-2ubuntu4) ...
107s Selecting previously unselected package linux-libc-dev:arm64.
107s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_arm64.deb ...
107s Unpacking linux-libc-dev:arm64 (6.18.0-9.9) ...
107s Selecting previously unselected package libcrypt-dev:arm64.
107s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ...
107s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ...
107s Selecting previously unselected package rpcsvc-proto.
107s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ...
107s Unpacking rpcsvc-proto (1.4.3-1build1) ...
107s Selecting previously unselected package libc6-dev:arm64.
107s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_arm64.deb ...
107s Unpacking libc6-dev:arm64 (2.42-2ubuntu4) ...
108s Selecting previously unselected package libisl23:arm64.
108s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ...
108s Unpacking libisl23:arm64 (0.27-1build1) ...
108s Selecting previously unselected package libmpc3:arm64.
108s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ...
108s Unpacking libmpc3:arm64 (1.3.1-2) ...
108s Selecting previously unselected package cpp-15-aarch64-linux-gnu.
108s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package cpp-15.
108s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking cpp-15 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package cpp-aarch64-linux-gnu.
108s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
108s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
108s Selecting previously unselected package cpp.
108s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ...
108s Unpacking cpp (4:15.2.0-4ubuntu1) ...
108s Selecting previously unselected package libcc1-0:arm64.
108s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libgomp1:arm64.
108s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libitm1:arm64.
108s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libasan8:arm64.
108s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package liblsan0:arm64.
108s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libtsan2:arm64.
108s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libubsan1:arm64.
108s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libhwasan0:arm64.
108s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ...
108s Selecting previously unselected package libgcc-15-dev:arm64.
108s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ...
108s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ...
109s Selecting previously unselected package gcc-15-aarch64-linux-gnu.
109s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
109s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
109s Selecting previously unselected package gcc-15.
109s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ...
109s Unpacking gcc-15 (15.2.0-12ubuntu1) ...
109s Selecting previously unselected package gcc-aarch64-linux-gnu.
109s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
109s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
109s Selecting previously unselected package gcc.
109s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ...
109s Unpacking gcc (4:15.2.0-4ubuntu1) ...
109s Selecting previously unselected package libstdc++-15-dev:arm64.
109s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ...
109s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ...
109s Selecting previously unselected package g++-15-aarch64-linux-gnu.
109s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
109s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
110s Selecting previously unselected package g++-15.
110s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ...
110s Unpacking g++-15 (15.2.0-12ubuntu1) ...
110s Selecting previously unselected package g++-aarch64-linux-gnu.
110s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
110s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
110s Selecting previously unselected package g++.
110s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ...
110s Unpacking g++ (4:15.2.0-4ubuntu1) ...
110s Selecting previously unselected package build-essential.
110s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ...
110s Unpacking build-essential (12.12ubuntu2) ...
110s Selecting previously unselected package libffi-dev:arm64.
110s Preparing to unpack .../30-libffi-dev_3.5.2-3_arm64.deb ...
110s Unpacking libffi-dev:arm64 (3.5.2-3) ...
110s Selecting previously unselected package uuid-dev:arm64.
110s Preparing to unpack .../31-uuid-dev_2.41.2-4ubuntu2_arm64.deb ...
110s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ...
110s Selecting previously unselected package libblkid-dev:arm64.
110s Preparing to unpack .../32-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ...
110s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ...
110s Selecting previously unselected package libsepol-dev:arm64.
110s Preparing to unpack .../33-libsepol-dev_3.9-2_arm64.deb ...
110s Unpacking libsepol-dev:arm64 (3.9-2) ...
110s Selecting previously unselected package libpcre2-16-0:arm64.
110s Preparing to unpack .../34-libpcre2-16-0_10.46-1build1_arm64.deb ...
110s Unpacking libpcre2-16-0:arm64 (10.46-1build1) ...
110s Selecting previously unselected package libpcre2-32-0:arm64.
110s Preparing to unpack .../35-libpcre2-32-0_10.46-1build1_arm64.deb ...
110s Unpacking libpcre2-32-0:arm64 (10.46-1build1) ...
110s Selecting previously unselected package libpcre2-posix3:arm64.
110s Preparing to unpack .../36-libpcre2-posix3_10.46-1build1_arm64.deb ...
110s Unpacking libpcre2-posix3:arm64 (10.46-1build1) ...
110s Selecting previously unselected package libpcre2-dev:arm64.
110s Preparing to unpack .../37-libpcre2-dev_10.46-1build1_arm64.deb ...
110s Unpacking libpcre2-dev:arm64 (10.46-1build1) ...
110s Selecting previously unselected package libselinux-dev:arm64.
110s Preparing to unpack .../38-libselinux-dev_3.9-4_arm64.deb ...
110s Unpacking libselinux-dev:arm64 (3.9-4) ...
110s Selecting previously unselected package libmount-dev:arm64.
110s Preparing to unpack .../39-libmount-dev_2.41.2-4ubuntu2_arm64.deb ...
110s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ...
110s Selecting previously unselected package libsysprof-capture-4-dev:arm64.
110s Preparing to unpack .../40-libsysprof-capture-4-dev_49.0-5_arm64.deb ...
110s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ...
110s Selecting previously unselected package libpkgconf3:arm64.
110s Preparing to unpack .../41-libpkgconf3_1.8.1-4build1_arm64.deb ...
110s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ...
110s Selecting previously unselected package pkgconf-bin.
110s Preparing to unpack .../42-pkgconf-bin_1.8.1-4build1_arm64.deb ...
110s Unpacking pkgconf-bin (1.8.1-4build1) ...
110s Selecting previously unselected package pkgconf:arm64.
110s Preparing to unpack .../43-pkgconf_1.8.1-4build1_arm64.deb ...
110s Unpacking pkgconf:arm64 (1.8.1-4build1) ...
110s Selecting previously unselected package zlib1g-dev:arm64.
110s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ...
110s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
110s Selecting previously unselected package libgio-2.0-dev:arm64.
110s Preparing to unpack .../45-libgio-2.0-dev_2.86.3-4_arm64.deb ...
110s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ...
110s Setting up linux-libc-dev:arm64 (6.18.0-9.9) ...
110s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libffi-dev:arm64 (3.5.2-3) ...
110s Setting up libpcre2-16-0:arm64 (10.46-1build1) ...
110s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ...
110s Setting up libpcre2-32-0:arm64 (10.46-1build1) ...
110s Setting up libpkgconf3:arm64 (1.8.1-4build1) ...
110s Setting up rpcsvc-proto (1.4.3-1build1) ...
110s Setting up libmpc3:arm64 (1.3.1-2) ...
110s Setting up libsepol-dev:arm64 (3.9-2) ...
110s Setting up pkgconf-bin (1.8.1-4build1) ...
110s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libpcre2-posix3:arm64 (10.46-1build1) ...
110s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ...
110s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libisl23:arm64 (0.27-1build1) ...
110s Setting up libc-dev-bin (2.42-2ubuntu4) ...
110s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ...
110s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ...
110s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ...
110s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
110s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ...
110s Setting up pkgconf:arm64 (1.8.1-4build1) ...
110s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
110s Setting up cpp-15 (15.2.0-12ubuntu1) ...
110s Setting up cpp (4:15.2.0-4ubuntu1) ...
110s Setting up libc6-dev:arm64 (2.42-2ubuntu4) ...
110s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
110s Setting up libpcre2-dev:arm64 (10.46-1build1) ...
110s Setting up gcc-15 (15.2.0-12ubuntu1) ...
110s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ...
110s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
110s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ...
110s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
110s Setting up libselinux-dev:arm64 (3.9-4) ...
110s Setting up g++-15 (15.2.0-12ubuntu1) ...
110s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
110s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ...
110s Setting up gcc (4:15.2.0-4ubuntu1) ...
110s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
110s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ...
110s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ...
110s Setting up g++ (4:15.2.0-4ubuntu1) ...
110s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
110s Setting up build-essential (12.12ubuntu2) ...
110s Processing triggers for libc-bin (2.42-2ubuntu4) ...
111s Processing triggers for man-db (2.13.1-1) ...
111s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ...
111s No schema files found: doing nothing.
111s Processing triggers for install-info (7.2-5) ...
112s autopkgtest [22:12:09]: test build: [-----------------------
113s + mode=dynamic
113s + getopt -o --long static -n debian/tests/build --
113s + getopt_temp= --
113s + eval set -- --
113s + set -- --
113s + true
113s + shift
113s + break
113s + mktemp -d
113s + WORKDIR=/tmp/tmp.sc622vibW6
113s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
113s + cd /tmp/tmp.sc622vibW6
113s + [ -n ]
113s + CROSS_COMPILE=
113s + cat
113s + cat
113s + cat
113s + cat
113s + cat
113s + cat
113s + cflags=
113s + pcflags=
113s + packages=glib-2.0
113s + pkg-config --cflags --libs glib-2.0
113s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
113s build (glib, dynamic): OK
113s run (glib, dynamic): OK
113s + echo build (glib, dynamic): OK
113s + [ -x glib-dynamic ]
113s + foo=bar ./glib-dynamic
113s + echo run (glib, dynamic): OK
113s + cflags=
113s + pcflags=
113s + packages=gobject-2.0
113s + pkg-config --cflags --libs gobject-2.0
113s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
113s build (gobject, dynamic): OK
113s + echo build (gobject, dynamic): OK
113s + [ -x gobject-dynamic ]
113s + foo=bar ./gobject-dynamic
113s + echo run (gobject, dynamic): OK
113s + cflags=
113s + pcflags=
113s + packages=gio-2.0
113s + pkg-config --cflags --libs gio-2.0
113s run (gobject, dynamic): OK
113s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
113s build (gio, dynamic): OK
113s + echo build (gio, dynamic): OK
113s + [ -x gio-dynamic ]
113s + foo=bar ./gio-dynamic
113s run (gio, dynamic): OK
113s + echo run (gio, dynamic): OK
113s + cflags=
113s + pcflags=
113s + packages=gio-unix-2.0
113s + pkg-config --cflags --libs gio-unix-2.0
113s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
113s build (gio-unix, dynamic): OK
113s + echo build (gio-unix, dynamic): OK
113s + [ -x gio-unix-dynamic ]
113s + foo=bar ./gio-unix-dynamic
113s + echo run (gio-unix, dynamic): OK
113s + cflags=
113s + pcflags=
113s + packages=gmodule-2.0
113s + pkg-config --cflags --libs gmodule-2.0
113s run (gio-unix, dynamic): OK
113s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
113s build (gmodule, dynamic): OK
113s + echo build (gmodule, dynamic): OK
113s + [ -x gmodule-dynamic ]
113s + foo=bar ./gmodule-dynamic
113s run (gmodule, dynamic): OK
113s + echo run (gmodule, dynamic): OK
113s + cflags=
113s + pcflags=
113s + packages=gthread-2.0
113s + pkg-config --cflags --libs gthread-2.0
113s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
113s build (gthread, dynamic): OK
113s run (gthread, dynamic): OK
113s + echo build (gthread, dynamic): OK
113s + [ -x gthread-dynamic ]
113s + foo=bar ./gthread-dynamic
113s + echo run (gthread, dynamic): OK
113s + rm -rf /tmp/tmp.sc622vibW6
114s autopkgtest [22:12:11]: test build: -----------------------]
114s autopkgtest [22:12:11]: test build: - - - - - - - - - - results - - - - - - - - - -
114s build PASS (superficial)
114s autopkgtest [22:12:11]: test build-static: preparing testbed
115s Reading package lists...
115s Building dependency tree...
115s Reading state information...
115s Solving dependencies...
116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
116s autopkgtest [22:12:13]: test build-static: [-----------------------
116s + mode=dynamic
116s + getopt -o --long static -n debian/tests/build -- --static
116s + getopt_temp= --static --
116s + eval set -- --static --
116s + set -- --static --
116s + true
116s + mode=static
116s + shift
116s + continue
116s + true
116s + shift
116s + break
116s + mktemp -d
116s + WORKDIR=/tmp/tmp.mD98wdoMde
116s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
116s + cd /tmp/tmp.mD98wdoMde
116s + [ -n ]
116s + CROSS_COMPILE=
116s + cat
116s + cat
116s + cat
116s + cat
117s + cat
117s + cat
117s + cflags=
117s + pcflags=
117s + packages=glib-2.0
117s + cflags=-static
117s + pcflags=--static
117s + pkg-config --static --cflags --libs glib-2.0
117s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
117s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
117s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s build (glib, static): OK
117s + echo build (glib, static): OK
117s + [ -x glib-static ]
117s + foo=bar ./glib-static
117s + echo run (glib, static): OK
117s + cflags=
117s + pcflags=
117s + packages=gobject-2.0
117s + cflags=-static
117s + pcflags=--static
117s + pkg-config --static --cflags --libs gobject-2.0
117s run (glib, static): OK
117s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi
117s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
117s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s build (gobject, static): OK
117s + echo build (gobject, static): OK
117s + [ -x gobject-static ]
117s + foo=bar ./gobject-static
117s + echo run (gobject, static): OK
117s + cflags=
117s + pcflags=
117s + packages=gio-2.0
117s + cflags=-static
117s + pcflags=--static
117s + continue
117s + cflags=
117s + pcflags=
117s + packages=gio-unix-2.0
117s + cflags=-static
117s + pcflags=--static
117s + continue
117s + cflags=
117s + pcflags=
117s + packages=gmodule-2.0
117s + cflags=-static
117s + pcflags=--static
117s run (gobject, static): OK
117s + pkg-config --static --cflags --libs gmodule-2.0
117s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
117s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
117s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
117s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s build (gmodule, static): OK
117s + echo build (gmodule, static): OK
117s + [ -x gmodule-static ]
117s + foo=bar ./gmodule-static
117s run (gmodule, static): OK
117s + echo run (gmodule, static): OK
117s + cflags=
117s + pcflags=
117s + packages=gthread-2.0
117s + cflags=-static
117s + pcflags=--static
117s + pkg-config --static --cflags --libs gthread-2.0
117s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
117s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
117s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
117s build (gthread, static): OK
117s + echo build (gthread, static): OK
117s + [ -x gthread-static ]
117s + foo=bar ./gthread-static
117s + echo run (gthread, static): OK
117s + rm -rf /tmp/tmp.mD98wdoMde
117s run (gthread, static): OK
118s autopkgtest [22:12:15]: test build-static: -----------------------]
118s build-static PASS (superficial)
118s autopkgtest [22:12:15]: test build-static: - - - - - - - - - - results - - - - - - - - - -
118s autopkgtest [22:12:15]: test girepository-tools: preparing testbed
137s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
192s autopkgtest [22:13:29]: testbed dpkg architecture: arm64
193s autopkgtest [22:13:30]: testbed apt version: 3.1.14
193s autopkgtest [22:13:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup
193s autopkgtest [22:13:30]: testbed release detected to be: resolute
194s autopkgtest [22:13:31]: updating testbed package index (apt update)
194s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
194s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
194s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
194s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
194s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
194s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
194s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
194s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
195s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
195s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
195s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
195s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
195s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
195s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
196s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
196s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
198s Fetched 3322 kB in 2s (2184 kB/s)
199s Reading package lists...
199s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
199s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
200s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
200s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
200s Reading package lists...
200s Reading package lists...
201s Building dependency tree...
201s Reading state information...
201s Calculating upgrade...
201s The following packages will be upgraded:
201s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
201s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
201s Need to get 3280 kB of archives.
201s After this operation, 2048 B of additional disk space will be used.
201s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
202s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
202s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
202s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
202s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
202s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
202s dpkg-preconfigure: unable to re-open stdin: No such file or directory
202s Fetched 3280 kB in 0s (6992 kB/s)
202s (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 ... 89360 files and directories currently installed.)
202s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
202s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
203s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
203s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
203s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
203s (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 ... 89360 files and directories currently installed.)
203s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
203s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
203s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
203s (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 ... 89360 files and directories currently installed.)
203s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
203s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
203s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
203s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
203s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
203s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
203s Setting up powermgmt-base (1.38ubuntu2) ...
203s Setting up firmware-sof-signed (2025.05.1-1build1) ...
203s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
203s Setting up zstd (1.5.7+dfsg-3) ...
203s Processing triggers for man-db (2.13.1-1) ...
204s Processing triggers for libselinux1:arm64 (3.9-4) ...
204s Processing triggers for libc-bin (2.42-2ubuntu4) ...
204s autopkgtest [22:13:41]: upgrading testbed (apt dist-upgrade and autopurge)
204s Reading package lists...
207s Building dependency tree...
207s Reading state information...
207s Calculating upgrade...
207s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
207s Reading package lists...
207s Building dependency tree...
207s Reading state information...
207s Solving dependencies...
207s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
210s Reading package lists...
210s Building dependency tree...
210s Reading state information...
210s Solving dependencies...
210s The following NEW packages will be installed:
210s gir1.2-glib-2.0-dev girepository-tools native-architecture
211s 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
211s Need to get 972 kB of archives.
211s After this operation, 12.4 MB of additional disk space will be used.
211s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB]
211s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B]
211s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB]
211s Fetched 972 kB in 0s (5906 kB/s)
211s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64.
211s (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 ... 89360 files and directories currently installed.)
211s Preparing to unpack .../gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ...
211s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
211s Selecting previously unselected package native-architecture.
211s Preparing to unpack .../native-architecture_0.2.6build1_all.deb ...
211s Unpacking native-architecture (0.2.6build1) ...
211s Selecting previously unselected package girepository-tools:arm64.
211s Preparing to unpack .../girepository-tools_2.86.3-4_arm64.deb ...
211s Unpacking girepository-tools:arm64 (2.86.3-4) ...
211s Setting up native-architecture (0.2.6build1) ...
211s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
211s Setting up girepository-tools:arm64 (2.86.3-4) ...
211s Processing triggers for man-db (2.13.1-1) ...
218s autopkgtest [22:13:55]: test girepository-tools: [-----------------------
218s + cd /tmp/autopkgtest.o1fVkR/autopkgtest_tmp
218s + dpkg-architecture -qDEB_HOST_GNU_TYPE
218s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
218s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu
218s + dpkg-architecture -qDEB_HOST_MULTIARCH
218s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
218s + DEB_HOST_MULTIARCH=aarch64-linux-gnu
218s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
218s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir
218s typelib: GLib-2.0
219s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
219s autopkgtest [22:13:56]: test girepository-tools: -----------------------]
219s girepository-tools PASS (superficial)
219s autopkgtest [22:13:56]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
220s autopkgtest [22:13:57]: test libgio-2.0-dev-bin: preparing testbed
239s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
288s autopkgtest [22:15:05]: testbed dpkg architecture: arm64
288s autopkgtest [22:15:05]: testbed apt version: 3.1.14
289s autopkgtest [22:15:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup
289s autopkgtest [22:15:06]: testbed release detected to be: resolute
290s autopkgtest [22:15:07]: updating testbed package index (apt update)
290s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
290s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
290s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
290s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
290s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
290s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
290s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
290s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
290s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
290s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
290s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
291s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
291s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
291s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
291s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
291s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
294s Fetched 3322 kB in 2s (1949 kB/s)
295s Reading package lists...
295s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
295s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
296s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
296s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
296s Reading package lists...
296s Reading package lists...
297s Building dependency tree...
297s Reading state information...
297s Calculating upgrade...
297s The following packages will be upgraded:
297s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
297s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
297s Need to get 3280 kB of archives.
297s After this operation, 2048 B of additional disk space will be used.
297s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
297s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
297s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
297s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
297s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
297s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
298s dpkg-preconfigure: unable to re-open stdin: No such file or directory
298s Fetched 3280 kB in 0s (23.6 MB/s)
298s (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 ... 89360 files and directories currently installed.)
298s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
298s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
298s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
298s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
298s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
298s (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 ... 89360 files and directories currently installed.)
298s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
298s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
299s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
299s (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 ... 89360 files and directories currently installed.)
299s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
299s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
299s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
299s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
299s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
299s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
299s Setting up powermgmt-base (1.38ubuntu2) ...
299s Setting up firmware-sof-signed (2025.05.1-1build1) ...
299s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
299s Setting up zstd (1.5.7+dfsg-3) ...
299s Processing triggers for man-db (2.13.1-1) ...
300s Processing triggers for libselinux1:arm64 (3.9-4) ...
300s Processing triggers for libc-bin (2.42-2ubuntu4) ...
300s autopkgtest [22:15:17]: upgrading testbed (apt dist-upgrade and autopurge)
300s Reading package lists...
300s Building dependency tree...
300s Reading state information...
301s Calculating upgrade...
301s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
301s Reading package lists...
301s Building dependency tree...
301s Reading state information...
301s Solving dependencies...
302s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
305s Reading package lists...
306s Building dependency tree...
306s Reading state information...
306s Solving dependencies...
306s The following NEW packages will be installed:
306s libgio-2.0-dev-bin
306s 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
306s Need to get 128 kB of archives.
306s After this operation, 822 kB of additional disk space will be used.
306s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB]
306s Fetched 128 kB in 0s (2934 kB/s)
306s Selecting previously unselected package libgio-2.0-dev-bin.
306s (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 ... 89360 files and directories currently installed.)
306s Preparing to unpack .../libgio-2.0-dev-bin_2.86.3-4_arm64.deb ...
306s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
307s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
307s Processing triggers for man-db (2.13.1-1) ...
319s autopkgtest [22:15:36]: test libgio-2.0-dev-bin: [-----------------------
319s + gdbus-codegen --help
319s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
319s [--c-namespace NAMESPACE] [--c-generate-object-manager]
319s [--c-generate-autocleanup {none,objects,all}]
319s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
319s [--generate-rst OUTFILES] [--pragma-once]
319s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
319s [--glib-min-required VERSION]
319s [--glib-max-allowed VERSION]
319s [--symbol-decorator SYMBOL_DECORATOR]
319s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
319s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
319s [--generate-c-code OUTFILES | --header | --body |
319s --interface-info-header | --interface-info-body]
319s [--output FILE | --output-directory OUTDIR]
319s FILE [FILE ...]
319s
319s D-Bus code and documentation generator
319s
319s positional arguments:
319s FILE D-Bus introspection XML file
319s
319s options:
319s -h, --help show this help message and exit
319s --interface-prefix PREFIX
319s String to strip from D-Bus interface names for code
319s and docs
319s --c-namespace NAMESPACE
319s The namespace to use for generated C code
319s --c-generate-object-manager
319s Generate a GDBusObjectManagerClient subclass when
319s generating C code
319s --c-generate-autocleanup {none,objects,all}
319s Generate autocleanup support
319s --generate-docbook OUTFILES
319s Generate Docbook in OUTFILES-org.Project.IFace.xml
319s --generate-md OUTFILES
319s Generate Markdown in OUTFILES-org.Project.IFace.md
319s --generate-rst OUTFILES
319s Generate reStructuredText in OUTFILES-
319s org.Project.IFace.rst
319s --pragma-once Use "pragma once" as the inclusion guard
319s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
319s Add annotation (may be used several times)
319s --glib-min-required VERSION
319s Minimum version of GLib to be supported by the
319s outputted code (default: 2.30)
319s --glib-max-allowed VERSION
319s Maximum version of GLib to be used by the outputted
319s code (default: current GLib version)
319s --symbol-decorator SYMBOL_DECORATOR
319s Macro used to decorate a symbol in the outputted
319s header, possibly to export symbols
319s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
319s Additional header required for decorator specified by
319s --symbol-decorator
319s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
319s Additional define required for decorator specified by
319s --symbol-decorator
319s --generate-c-code OUTFILES
319s Generate C code in OUTFILES.[ch]
319s --header Generate C headers
319s --body Generate C code
319s --interface-info-header
319s Generate GDBusInterfaceInfo C header
319s --interface-info-body
319s Generate GDBusInterfaceInfo C code
319s --output FILE Write output into the specified file
319s --output-directory OUTDIR
319s Location to output generated files
319s + glib-compile-resources --version
319s 2.86.3
319s + glib-genmarshal --version
319s glib-genmarshal version 2.86.3
319s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
319s You may redistribute copies of glib-genmarshal under the terms of
319s the GNU General Public License which can be found in the
319s GLib source package. Sources, examples and contact
319s information are available at http://www.gtk.org
319s + glib-gettextize --version
319s + glib-mkenums --version
319s /usr/bin/glib-gettextize (GNU glib) 2.86.3
319s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
319s This is free software; see the source for copying conditions. There is NO
319s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
319s Written by Ulrich Drepper
319s glib-mkenums version 2.86.3
319s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
319s You may redistribute copies of glib-mkenums under the terms of
319s the GNU General Public License which can be found in the
319s GLib source package. Sources, examples and contact
319s information are available at http://www.gtk.org
319s + gobject-query tree
319s GObject
319s + gtester --version
319s + gtester-report --version
319s gtester version 2.86.3
319s gtester-report (GLib utils) version 2.86.3.
320s autopkgtest [22:15:37]: test libgio-2.0-dev-bin: -----------------------]
320s libgio-2.0-dev-bin PASS (superficial)
320s autopkgtest [22:15:37]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
320s autopkgtest [22:15:37]: test libglib2.0-dev: preparing testbed
339s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
391s autopkgtest [22:16:48]: testbed dpkg architecture: arm64
391s autopkgtest [22:16:48]: testbed apt version: 3.1.14
392s autopkgtest [22:16:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup
392s autopkgtest [22:16:49]: testbed release detected to be: resolute
393s autopkgtest [22:16:50]: updating testbed package index (apt update)
393s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
393s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
393s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
393s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
393s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
393s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
393s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
394s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
394s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
394s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
394s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
394s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
394s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
394s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
394s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
394s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
397s Fetched 3322 kB in 1s (2569 kB/s)
398s Reading package lists...
398s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
398s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
398s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
398s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
399s Reading package lists...
399s Reading package lists...
400s Building dependency tree...
400s Reading state information...
400s Calculating upgrade...
400s The following packages will be upgraded:
400s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
400s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
400s Need to get 3280 kB of archives.
400s After this operation, 2048 B of additional disk space will be used.
400s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
400s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
400s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
400s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
401s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
401s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
401s dpkg-preconfigure: unable to re-open stdin: No such file or directory
401s Fetched 3280 kB in 0s (10.2 MB/s)
401s (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 ... 89360 files and directories currently installed.)
401s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
401s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
402s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
402s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
402s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
402s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89360 files and directories currently installed.)
402s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
402s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
402s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
402s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89360 files and directories currently installed.)
402s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
402s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
402s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
402s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
402s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
402s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
402s Setting up powermgmt-base (1.38ubuntu2) ...
402s Setting up firmware-sof-signed (2025.05.1-1build1) ...
402s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
402s Setting up zstd (1.5.7+dfsg-3) ...
402s Processing triggers for man-db (2.13.1-1) ...
404s Processing triggers for libselinux1:arm64 (3.9-4) ...
404s Processing triggers for libc-bin (2.42-2ubuntu4) ...
404s autopkgtest [22:17:01]: upgrading testbed (apt dist-upgrade and autopurge)
404s Reading package lists...
404s Building dependency tree...
404s Reading state information...
404s Calculating upgrade...
405s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
405s Reading package lists...
405s Building dependency tree...
405s Reading state information...
405s Solving dependencies...
406s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
409s Reading package lists...
409s Building dependency tree...
409s Reading state information...
409s Solving dependencies...
409s The following NEW packages will be installed:
409s build-essential cpp cpp-15 cpp-15-aarch64-linux-gnu cpp-aarch64-linux-gnu
409s g++ g++-15 g++-15-aarch64-linux-gnu g++-aarch64-linux-gnu gcc gcc-15
409s gcc-15-aarch64-linux-gnu gcc-aarch64-linux-gnu gir1.2-glib-2.0-dev
409s girepository-tools libasan8 libblkid-dev libc-dev-bin libc6-dev libcc1-0
409s libcrypt-dev libffi-dev libgcc-15-dev libgio-2.0-dev libgio-2.0-dev-bin
409s libglib2.0-bin libglib2.0-dev libglib2.0-dev-bin libgomp1 libhwasan0
409s libisl23 libitm1 liblsan0 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0
409s libpcre2-dev libpcre2-posix3 libpkgconf3 libselinux-dev libsepol-dev
409s libstdc++-15-dev libsysprof-capture-4-dev libtsan2 libubsan1 linux-libc-dev
409s native-architecture pkgconf pkgconf-bin rpcsvc-proto uuid-dev zlib1g-dev
409s 0 upgraded, 53 newly installed, 0 to remove and 0 not upgraded.
409s Need to get 74.7 MB of archives.
409s After this operation, 280 MB of additional disk space will be used.
409s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libc-dev-bin arm64 2.42-2ubuntu4 [22.5 kB]
410s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 linux-libc-dev arm64 6.18.0-9.9 [1834 kB]
410s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libcrypt-dev arm64 1:4.5.1-1 [123 kB]
410s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 rpcsvc-proto arm64 1.4.3-1build1 [65.6 kB]
410s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 libc6-dev arm64 2.42-2ubuntu4 [1765 kB]
410s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libisl23 arm64 0.27-1build1 [676 kB]
410s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libmpc3 arm64 1.3.1-2 [55.6 kB]
410s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [11.7 MB]
411s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-15 arm64 15.2.0-12ubuntu1 [1030 B]
411s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [5736 B]
411s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 cpp arm64 4:15.2.0-4ubuntu1 [22.4 kB]
411s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libcc1-0 arm64 15.2.0-12ubuntu1 [49.0 kB]
411s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-12ubuntu1 [147 kB]
411s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libitm1 arm64 15.2.0-12ubuntu1 [27.8 kB]
411s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 libasan8 arm64 15.2.0-12ubuntu1 [2920 kB]
411s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 liblsan0 arm64 15.2.0-12ubuntu1 [1316 kB]
411s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libtsan2 arm64 15.2.0-12ubuntu1 [2688 kB]
411s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libubsan1 arm64 15.2.0-12ubuntu1 [1175 kB]
411s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libhwasan0 arm64 15.2.0-12ubuntu1 [1638 kB]
411s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libgcc-15-dev arm64 15.2.0-12ubuntu1 [2600 kB]
411s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [23.1 MB]
412s Get:22 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-15 arm64 15.2.0-12ubuntu1 [519 kB]
412s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [1206 B]
412s Get:24 http://ftpmaster.internal/ubuntu resolute/main arm64 gcc arm64 4:15.2.0-4ubuntu1 [5016 B]
412s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libstdc++-15-dev arm64 15.2.0-12ubuntu1 [2549 kB]
412s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15-aarch64-linux-gnu arm64 15.2.0-12ubuntu1 [13.2 MB]
412s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-15 arm64 15.2.0-12ubuntu1 [25.3 kB]
412s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 g++-aarch64-linux-gnu arm64 4:15.2.0-4ubuntu1 [956 B]
412s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 g++ arm64 4:15.2.0-4ubuntu1 [1080 B]
412s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 build-essential arm64 12.12ubuntu2 [5254 B]
412s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB]
412s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B]
412s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB]
412s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libffi-dev arm64 3.5.2-3 [63.0 kB]
412s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 uuid-dev arm64 2.41.2-4ubuntu2 [57.4 kB]
412s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libblkid-dev arm64 2.41.2-4ubuntu2 [246 kB]
412s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libsepol-dev arm64 3.9-2 [413 kB]
412s Get:38 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-16-0 arm64 10.46-1build1 [220 kB]
412s Get:39 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-32-0 arm64 10.46-1build1 [208 kB]
412s Get:40 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-posix3 arm64 10.46-1build1 [7160 B]
412s Get:41 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-dev arm64 10.46-1build1 [759 kB]
412s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 libselinux-dev arm64 3.9-4 [184 kB]
412s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 libmount-dev arm64 2.41.2-4ubuntu2 [37.6 kB]
412s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libsysprof-capture-4-dev arm64 49.0-5 [54.4 kB]
412s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libpkgconf3 arm64 1.8.1-4build1 [33.7 kB]
412s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf-bin arm64 1.8.1-4build1 [21.7 kB]
412s Get:47 http://ftpmaster.internal/ubuntu resolute/main arm64 pkgconf arm64 1.8.1-4build1 [16.8 kB]
412s Get:48 http://ftpmaster.internal/ubuntu resolute/main arm64 zlib1g-dev arm64 1:1.3.dfsg+really1.3.1-1ubuntu2 [899 kB]
413s Get:49 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev arm64 2.86.3-4 [1912 kB]
413s Get:50 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB]
413s Get:51 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB]
413s Get:52 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB]
413s Get:53 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev arm64 2.86.3-4 [18.9 kB]
413s Fetched 74.7 MB in 3s (23.8 MB/s)
413s Selecting previously unselected package libc-dev-bin.
413s (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 ... 89360 files and directories currently installed.)
413s Preparing to unpack .../00-libc-dev-bin_2.42-2ubuntu4_arm64.deb ...
413s Unpacking libc-dev-bin (2.42-2ubuntu4) ...
413s Selecting previously unselected package linux-libc-dev:arm64.
413s Preparing to unpack .../01-linux-libc-dev_6.18.0-9.9_arm64.deb ...
413s Unpacking linux-libc-dev:arm64 (6.18.0-9.9) ...
413s Selecting previously unselected package libcrypt-dev:arm64.
413s Preparing to unpack .../02-libcrypt-dev_1%3a4.5.1-1_arm64.deb ...
413s Unpacking libcrypt-dev:arm64 (1:4.5.1-1) ...
413s Selecting previously unselected package rpcsvc-proto.
413s Preparing to unpack .../03-rpcsvc-proto_1.4.3-1build1_arm64.deb ...
413s Unpacking rpcsvc-proto (1.4.3-1build1) ...
413s Selecting previously unselected package libc6-dev:arm64.
413s Preparing to unpack .../04-libc6-dev_2.42-2ubuntu4_arm64.deb ...
413s Unpacking libc6-dev:arm64 (2.42-2ubuntu4) ...
413s Selecting previously unselected package libisl23:arm64.
413s Preparing to unpack .../05-libisl23_0.27-1build1_arm64.deb ...
413s Unpacking libisl23:arm64 (0.27-1build1) ...
413s Selecting previously unselected package libmpc3:arm64.
413s Preparing to unpack .../06-libmpc3_1.3.1-2_arm64.deb ...
413s Unpacking libmpc3:arm64 (1.3.1-2) ...
413s Selecting previously unselected package cpp-15-aarch64-linux-gnu.
413s Preparing to unpack .../07-cpp-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
413s Unpacking cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package cpp-15.
414s Preparing to unpack .../08-cpp-15_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking cpp-15 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package cpp-aarch64-linux-gnu.
414s Preparing to unpack .../09-cpp-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
414s Unpacking cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
414s Selecting previously unselected package cpp.
414s Preparing to unpack .../10-cpp_4%3a15.2.0-4ubuntu1_arm64.deb ...
414s Unpacking cpp (4:15.2.0-4ubuntu1) ...
414s Selecting previously unselected package libcc1-0:arm64.
414s Preparing to unpack .../11-libcc1-0_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libcc1-0:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libgomp1:arm64.
414s Preparing to unpack .../12-libgomp1_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libgomp1:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libitm1:arm64.
414s Preparing to unpack .../13-libitm1_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libitm1:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libasan8:arm64.
414s Preparing to unpack .../14-libasan8_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libasan8:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package liblsan0:arm64.
414s Preparing to unpack .../15-liblsan0_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking liblsan0:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libtsan2:arm64.
414s Preparing to unpack .../16-libtsan2_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libtsan2:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libubsan1:arm64.
414s Preparing to unpack .../17-libubsan1_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libubsan1:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libhwasan0:arm64.
414s Preparing to unpack .../18-libhwasan0_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libhwasan0:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package libgcc-15-dev:arm64.
414s Preparing to unpack .../19-libgcc-15-dev_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ...
414s Selecting previously unselected package gcc-15-aarch64-linux-gnu.
414s Preparing to unpack .../20-gcc-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
414s Unpacking gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
415s Selecting previously unselected package gcc-15.
415s Preparing to unpack .../21-gcc-15_15.2.0-12ubuntu1_arm64.deb ...
415s Unpacking gcc-15 (15.2.0-12ubuntu1) ...
415s Selecting previously unselected package gcc-aarch64-linux-gnu.
415s Preparing to unpack .../22-gcc-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
415s Unpacking gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
415s Selecting previously unselected package gcc.
415s Preparing to unpack .../23-gcc_4%3a15.2.0-4ubuntu1_arm64.deb ...
415s Unpacking gcc (4:15.2.0-4ubuntu1) ...
415s Selecting previously unselected package libstdc++-15-dev:arm64.
415s Preparing to unpack .../24-libstdc++-15-dev_15.2.0-12ubuntu1_arm64.deb ...
415s Unpacking libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ...
415s Selecting previously unselected package g++-15-aarch64-linux-gnu.
415s Preparing to unpack .../25-g++-15-aarch64-linux-gnu_15.2.0-12ubuntu1_arm64.deb ...
415s Unpacking g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
415s Selecting previously unselected package g++-15.
415s Preparing to unpack .../26-g++-15_15.2.0-12ubuntu1_arm64.deb ...
415s Unpacking g++-15 (15.2.0-12ubuntu1) ...
415s Selecting previously unselected package g++-aarch64-linux-gnu.
415s Preparing to unpack .../27-g++-aarch64-linux-gnu_4%3a15.2.0-4ubuntu1_arm64.deb ...
415s Unpacking g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
415s Selecting previously unselected package g++.
415s Preparing to unpack .../28-g++_4%3a15.2.0-4ubuntu1_arm64.deb ...
415s Unpacking g++ (4:15.2.0-4ubuntu1) ...
415s Selecting previously unselected package build-essential.
415s Preparing to unpack .../29-build-essential_12.12ubuntu2_arm64.deb ...
415s Unpacking build-essential (12.12ubuntu2) ...
415s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64.
415s Preparing to unpack .../30-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ...
415s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
415s Selecting previously unselected package native-architecture.
415s Preparing to unpack .../31-native-architecture_0.2.6build1_all.deb ...
415s Unpacking native-architecture (0.2.6build1) ...
415s Selecting previously unselected package girepository-tools:arm64.
416s Preparing to unpack .../32-girepository-tools_2.86.3-4_arm64.deb ...
416s Unpacking girepository-tools:arm64 (2.86.3-4) ...
416s Selecting previously unselected package libffi-dev:arm64.
416s Preparing to unpack .../33-libffi-dev_3.5.2-3_arm64.deb ...
416s Unpacking libffi-dev:arm64 (3.5.2-3) ...
416s Selecting previously unselected package uuid-dev:arm64.
416s Preparing to unpack .../34-uuid-dev_2.41.2-4ubuntu2_arm64.deb ...
416s Unpacking uuid-dev:arm64 (2.41.2-4ubuntu2) ...
416s Selecting previously unselected package libblkid-dev:arm64.
416s Preparing to unpack .../35-libblkid-dev_2.41.2-4ubuntu2_arm64.deb ...
416s Unpacking libblkid-dev:arm64 (2.41.2-4ubuntu2) ...
416s Selecting previously unselected package libsepol-dev:arm64.
416s Preparing to unpack .../36-libsepol-dev_3.9-2_arm64.deb ...
416s Unpacking libsepol-dev:arm64 (3.9-2) ...
416s Selecting previously unselected package libpcre2-16-0:arm64.
416s Preparing to unpack .../37-libpcre2-16-0_10.46-1build1_arm64.deb ...
416s Unpacking libpcre2-16-0:arm64 (10.46-1build1) ...
416s Selecting previously unselected package libpcre2-32-0:arm64.
416s Preparing to unpack .../38-libpcre2-32-0_10.46-1build1_arm64.deb ...
416s Unpacking libpcre2-32-0:arm64 (10.46-1build1) ...
416s Selecting previously unselected package libpcre2-posix3:arm64.
416s Preparing to unpack .../39-libpcre2-posix3_10.46-1build1_arm64.deb ...
416s Unpacking libpcre2-posix3:arm64 (10.46-1build1) ...
416s Selecting previously unselected package libpcre2-dev:arm64.
416s Preparing to unpack .../40-libpcre2-dev_10.46-1build1_arm64.deb ...
416s Unpacking libpcre2-dev:arm64 (10.46-1build1) ...
416s Selecting previously unselected package libselinux-dev:arm64.
416s Preparing to unpack .../41-libselinux-dev_3.9-4_arm64.deb ...
416s Unpacking libselinux-dev:arm64 (3.9-4) ...
416s Selecting previously unselected package libmount-dev:arm64.
416s Preparing to unpack .../42-libmount-dev_2.41.2-4ubuntu2_arm64.deb ...
416s Unpacking libmount-dev:arm64 (2.41.2-4ubuntu2) ...
416s Selecting previously unselected package libsysprof-capture-4-dev:arm64.
416s Preparing to unpack .../43-libsysprof-capture-4-dev_49.0-5_arm64.deb ...
416s Unpacking libsysprof-capture-4-dev:arm64 (49.0-5) ...
416s Selecting previously unselected package libpkgconf3:arm64.
416s Preparing to unpack .../44-libpkgconf3_1.8.1-4build1_arm64.deb ...
416s Unpacking libpkgconf3:arm64 (1.8.1-4build1) ...
416s Selecting previously unselected package pkgconf-bin.
416s Preparing to unpack .../45-pkgconf-bin_1.8.1-4build1_arm64.deb ...
416s Unpacking pkgconf-bin (1.8.1-4build1) ...
416s Selecting previously unselected package pkgconf:arm64.
416s Preparing to unpack .../46-pkgconf_1.8.1-4build1_arm64.deb ...
416s Unpacking pkgconf:arm64 (1.8.1-4build1) ...
416s Selecting previously unselected package zlib1g-dev:arm64.
416s Preparing to unpack .../47-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu2_arm64.deb ...
416s Unpacking zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
416s Selecting previously unselected package libgio-2.0-dev:arm64.
416s Preparing to unpack .../48-libgio-2.0-dev_2.86.3-4_arm64.deb ...
416s Unpacking libgio-2.0-dev:arm64 (2.86.3-4) ...
416s Selecting previously unselected package libgio-2.0-dev-bin.
416s Preparing to unpack .../49-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ...
416s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
416s Selecting previously unselected package libglib2.0-bin.
416s Preparing to unpack .../50-libglib2.0-bin_2.86.3-4_arm64.deb ...
416s Unpacking libglib2.0-bin (2.86.3-4) ...
416s Selecting previously unselected package libglib2.0-dev-bin.
416s Preparing to unpack .../51-libglib2.0-dev-bin_2.86.3-4_arm64.deb ...
416s Unpacking libglib2.0-dev-bin (2.86.3-4) ...
416s Selecting previously unselected package libglib2.0-dev:arm64.
416s Preparing to unpack .../52-libglib2.0-dev_2.86.3-4_arm64.deb ...
416s Unpacking libglib2.0-dev:arm64 (2.86.3-4) ...
416s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
417s Setting up native-architecture (0.2.6build1) ...
417s Setting up linux-libc-dev:arm64 (6.18.0-9.9) ...
417s Setting up libglib2.0-bin (2.86.3-4) ...
417s Setting up libgomp1:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libffi-dev:arm64 (3.5.2-3) ...
417s Setting up libpcre2-16-0:arm64 (10.46-1build1) ...
417s Setting up libsysprof-capture-4-dev:arm64 (49.0-5) ...
417s Setting up libpcre2-32-0:arm64 (10.46-1build1) ...
417s Setting up libpkgconf3:arm64 (1.8.1-4build1) ...
417s Setting up rpcsvc-proto (1.4.3-1build1) ...
417s Setting up libmpc3:arm64 (1.3.1-2) ...
417s Setting up libsepol-dev:arm64 (3.9-2) ...
417s Setting up pkgconf-bin (1.8.1-4build1) ...
417s Setting up libubsan1:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libpcre2-posix3:arm64 (10.46-1build1) ...
417s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
417s Setting up libhwasan0:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libcrypt-dev:arm64 (1:4.5.1-1) ...
417s Setting up libasan8:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libtsan2:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libisl23:arm64 (0.27-1build1) ...
417s Setting up libc-dev-bin (2.42-2ubuntu4) ...
417s Setting up libcc1-0:arm64 (15.2.0-12ubuntu1) ...
417s Setting up liblsan0:arm64 (15.2.0-12ubuntu1) ...
417s Setting up libitm1:arm64 (15.2.0-12ubuntu1) ...
417s Setting up cpp-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
417s Setting up girepository-tools:arm64 (2.86.3-4) ...
417s Setting up libgcc-15-dev:arm64 (15.2.0-12ubuntu1) ...
417s Setting up pkgconf:arm64 (1.8.1-4build1) ...
417s Setting up cpp-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
417s Setting up cpp-15 (15.2.0-12ubuntu1) ...
417s Setting up cpp (4:15.2.0-4ubuntu1) ...
417s Setting up libc6-dev:arm64 (2.42-2ubuntu4) ...
417s Setting up libglib2.0-dev-bin (2.86.3-4) ...
417s Setting up gcc-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
417s Setting up libpcre2-dev:arm64 (10.46-1build1) ...
417s Setting up gcc-15 (15.2.0-12ubuntu1) ...
417s Setting up libstdc++-15-dev:arm64 (15.2.0-12ubuntu1) ...
417s Setting up g++-15-aarch64-linux-gnu (15.2.0-12ubuntu1) ...
417s Setting up uuid-dev:arm64 (2.41.2-4ubuntu2) ...
417s Setting up zlib1g-dev:arm64 (1:1.3.dfsg+really1.3.1-1ubuntu2) ...
417s Setting up libselinux-dev:arm64 (3.9-4) ...
417s Setting up g++-15 (15.2.0-12ubuntu1) ...
417s Setting up gcc-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
417s Setting up libblkid-dev:arm64 (2.41.2-4ubuntu2) ...
417s Setting up gcc (4:15.2.0-4ubuntu1) ...
417s Setting up g++-aarch64-linux-gnu (4:15.2.0-4ubuntu1) ...
417s Setting up libmount-dev:arm64 (2.41.2-4ubuntu2) ...
417s Setting up libgio-2.0-dev:arm64 (2.86.3-4) ...
417s Setting up g++ (4:15.2.0-4ubuntu1) ...
417s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
417s Setting up build-essential (12.12ubuntu2) ...
417s Processing triggers for install-info (7.2-5) ...
417s Processing triggers for libc-bin (2.42-2ubuntu4) ...
417s Processing triggers for man-db (2.13.1-1) ...
418s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ...
418s No schema files found: doing nothing.
418s Setting up libglib2.0-dev:arm64 (2.86.3-4) ...
426s autopkgtest [22:17:23]: test libglib2.0-dev: [-----------------------
426s + debian/tests/build
426s + mode=dynamic
426s + getopt -o --long static -n debian/tests/build --
426s + getopt_temp= --
426s + eval set -- --
426s + set -- --
426s + true
426s + shift
426s + break
426s + mktemp -d
426s + WORKDIR=/tmp/tmp.dcXSBZwnyS
426s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
426s + cd /tmp/tmp.dcXSBZwnyS
426s + [ -n ]
426s + CROSS_COMPILE=
426s + cat
426s + cat
426s + cat
426s + cat
426s + cat
426s + cat
426s + cflags=
426s + pcflags=
426s + packages=glib-2.0
426s + pkg-config --cflags --libs glib-2.0
426s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
427s build (glib, dynamic): OK
427s run (glib, dynamic): OK
427s + echo build (glib, dynamic): OK
427s + [ -x glib-dynamic ]
427s + foo=bar ./glib-dynamic
427s + echo run (glib, dynamic): OK
427s + cflags=
427s + pcflags=
427s + packages=gobject-2.0
427s + pkg-config --cflags --libs gobject-2.0
427s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
427s build (gobject, dynamic): OK
427s run (gobject, dynamic): OK
427s + echo build (gobject, dynamic): OK
427s + [ -x gobject-dynamic ]
427s + foo=bar ./gobject-dynamic
427s + echo run (gobject, dynamic): OK
427s + cflags=
427s + pcflags=
427s + packages=gio-2.0
427s + pkg-config --cflags --libs gio-2.0
427s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
427s build (gio, dynamic): OK
427s + echo build (gio, dynamic): OK
427s + [ -x gio-dynamic ]
427s + foo=bar ./gio-dynamic
427s + echo run (gio, dynamic): OK
427s + cflags=
427s + pcflags=
427s + packages=gio-unix-2.0
427s + pkg-config --cflags --libs gio-unix-2.0
427s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
427s run (gio, dynamic): OK
427s build (gio-unix, dynamic): OK
427s + echo build (gio-unix, dynamic): OK
427s + [ -x gio-unix-dynamic ]
427s + foo=bar ./gio-unix-dynamic
427s + echo run (gio-unix, dynamic): OK
427s + cflags=
427s + pcflags=
427s + packages=gmodule-2.0
427s + pkg-config --cflags --libs gmodule-2.0
427s run (gio-unix, dynamic): OK
427s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
427s build (gmodule, dynamic): OK
427s + echo build (gmodule, dynamic): OK
427s + [ -x gmodule-dynamic ]
427s + foo=bar ./gmodule-dynamic
427s run (gmodule, dynamic): OK
427s + echo run (gmodule, dynamic): OK
427s + cflags=
427s + pcflags=
427s + packages=gthread-2.0
427s + pkg-config --cflags --libs gthread-2.0
427s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
427s build (gthread, dynamic): OK
427s + echo build (gthread, dynamic): OK
427s + [ -x gthread-dynamic ]
427s + foo=bar ./gthread-dynamic
427s run (gthread, dynamic): OK
427s + echo run (gthread, dynamic): OK
427s + rm -rf /tmp/tmp.dcXSBZwnyS
427s + debian/tests/build-static
427s + mode=dynamic
427s + getopt -o --long static -n debian/tests/build -- --static
427s + getopt_temp= --static --
427s + eval set -- --static --
427s + set -- --static --
427s + true
427s + mode=static
427s + shift
427s + continue
427s + true
427s + shift
427s + break
427s + mktemp -d
427s + WORKDIR=/tmp/tmp.6teTB8BAKr
427s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
427s + cd /tmp/tmp.6teTB8BAKr
427s + [ -n ]
427s + CROSS_COMPILE=
427s + cat
427s + cat
427s + cat
427s + cat
427s + cat
427s + cat
427s + cflags=
427s + pcflags=
427s + packages=glib-2.0
427s + cflags=-static
427s + pcflags=--static
427s + pkg-config --static --cflags --libs glib-2.0
427s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
427s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
427s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
427s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
427s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
427s build (glib, static): OK
427s + echo build (glib, static): OK
427s + [ -x glib-static ]
427s + foo=bar ./glib-static
427s run (glib, static): OK
427s + echo run (glib, static): OK
427s + cflags=
427s + pcflags=
427s + packages=gobject-2.0
427s + cflags=-static
427s + pcflags=--static
427s + pkg-config --static --cflags --libs gobject-2.0
427s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lffi
427s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
427s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
427s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
427s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s build (gobject, static): OK
428s + echo build (gobject, static): OK
428s + [ -x gobject-static ]
428s + foo=bar ./gobject-static
428s run (gobject, static): OK
428s + echo run (gobject, static): OK
428s + cflags=
428s + pcflags=
428s + packages=gio-2.0
428s + cflags=-static
428s + pcflags=--static
428s + continue
428s + cflags=
428s + pcflags=
428s + packages=gio-unix-2.0
428s + cflags=-static
428s + pcflags=--static
428s + continue
428s + cflags=
428s + pcflags=
428s + packages=gmodule-2.0
428s + cflags=-static
428s + pcflags=--static
428s + pkg-config --static --cflags --libs gmodule-2.0
428s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
428s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
428s (.text+0x5c8): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
428s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s build (gmodule, static): OK
428s + echo build (gmodule, static): OK
428s + [ -x gmodule-static ]
428s + foo=bar ./gmodule-static
428s + run (gmodule, static): OK
428s echo run (gmodule, static): OK
428s + cflags=
428s + pcflags=
428s + packages=gthread-2.0
428s + cflags=-static
428s + pcflags=--static
428s + pkg-config --static --cflags --libs gthread-2.0
428s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -Wl,-z,nodelete -pthread -lpcre2-8
428s /usr/bin/aarch64-linux-gnu-ld.bfd: /usr/lib/gcc/aarch64-linux-gnu/15/../../../aarch64-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
428s (.text+0xe4): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x27c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s /usr/bin/aarch64-linux-gnu-ld.bfd: (.text+0x118): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
428s build (gthread, static): OK
428s + echo build (gthread, static): OK
428s + [ -x gthread-static ]
428s + foo=bar ./gthread-static
428s + echo run (gthread, static): OK
428s + rm -rf /tmp/tmp.6teTB8BAKr
428s run (gthread, static): OK
428s + debian/tests/girepository-tools
428s + cd /tmp/autopkgtest.o1fVkR/autopkgtest_tmp
428s + dpkg-architecture -qDEB_HOST_GNU_TYPE
428s + DEB_HOST_GNU_TYPE=aarch64-linux-gnu
428s + dpkg-architecture -qDEB_HOST_MULTIARCH
428s + DEB_HOST_MULTIARCH=aarch64-linux-gnu
428s + aarch64-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
428s typelib: GLib-2.0
428s + aarch64-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir
428s + aarch64-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
428s + debian/tests/libgio-2.0-dev-bin
428s + gdbus-codegen --help
428s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
428s [--c-namespace NAMESPACE] [--c-generate-object-manager]
428s [--c-generate-autocleanup {none,objects,all}]
428s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
428s [--generate-rst OUTFILES] [--pragma-once]
428s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
428s [--glib-min-required VERSION]
428s [--glib-max-allowed VERSION]
428s [--symbol-decorator SYMBOL_DECORATOR]
428s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
428s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
428s [--generate-c-code OUTFILES | --header | --body |
428s --interface-info-header | --interface-info-body]
428s [--output FILE | --output-directory OUTDIR]
428s FILE [FILE ...]
428s
428s D-Bus code and documentation generator
428s
428s positional arguments:
428s FILE D-Bus introspection XML file
428s
428s options:
428s -h, --help show this help message and exit
428s --interface-prefix PREFIX
428s String to strip from D-Bus interface names for code
428s and docs
428s --c-namespace NAMESPACE
428s The namespace to use for generated C code
428s --c-generate-object-manager
428s Generate a GDBusObjectManagerClient subclass when
428s generating C code
428s --c-generate-autocleanup {none,objects,all}
428s Generate autocleanup support
428s --generate-docbook OUTFILES
428s Generate Docbook in OUTFILES-org.Project.IFace.xml
428s --generate-md OUTFILES
428s Generate Markdown in OUTFILES-org.Project.IFace.md
428s --generate-rst OUTFILES
428s Generate reStructuredText in OUTFILES-
428s org.Project.IFace.rst
428s --pragma-once Use "pragma once" as the inclusion guard
428s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
428s Add annotation (may be used several times)
428s --glib-min-required VERSION
428s Minimum version of GLib to be supported by the
428s outputted code (default: 2.30)
428s --glib-max-allowed VERSION
428s Maximum version of GLib to be used by the outputted
428s code (default: current GLib version)
428s --symbol-decorator SYMBOL_DECORATOR
428s Macro used to decorate a symbol in the outputted
428s header, possibly to export symbols
428s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
428s Additional header required for decorator specified by
428s --symbol-decorator
428s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
428s Additional define required for decorator specified by
428s --symbol-decorator
428s --generate-c-code OUTFILES
428s Generate C code in OUTFILES.[ch]
428s --header Generate C headers
428s --body Generate C code
428s --interface-info-header
428s Generate GDBusInterfaceInfo C header
428s --interface-info-body
428s Generate GDBusInterfaceInfo C code
428s --output FILE Write output into the specified file
428s --output-directory OUTDIR
428s Location to output generated files
428s + glib-compile-resources --version
428s 2.86.3
428s + glib-genmarshal --version
428s glib-genmarshal version 2.86.3
428s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
428s You may redistribute copies of glib-genmarshal under the terms of
428s the GNU General Public License which can be found in the
428s GLib source package. Sources, examples and contact
428s information are available at http://www.gtk.org
428s + glib-gettextize --version
428s /usr/bin/glib-gettextize (GNU glib) 2.86.3
428s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
428s This is free software; see the source for copying conditions. There is NO
428s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
428s Written by Ulrich Drepper
428s + glib-mkenums --version
428s glib-mkenums version 2.86.3
428s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
428s You may redistribute copies of glib-mkenums under the terms of
428s the GNU General Public License which can be found in the
428s GLib source package. Sources, examples and contact
428s information are available at http://www.gtk.org
428s + gobject-query tree
428s GObject
428s + gtester --version
428s gtester version 2.86.3
428s + gtester-report --version
428s gtester-report (GLib utils) version 2.86.3.
428s + cd /tmp/autopkgtest.o1fVkR/autopkgtest_tmp
428s + dpkg-architecture -qDEB_HOST_MULTIARCH
428s + DEB_HOST_MULTIARCH=aarch64-linux-gnu
428s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
428s typelib: GLib-2.0
428s + gi-compile-repository -o GLib.typelib /usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir
429s + gi-decompile-typelib -o GLib.gir GLib.typelib
429s autopkgtest [22:17:26]: test libglib2.0-dev: -----------------------]
429s autopkgtest [22:17:26]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
429s libglib2.0-dev PASS (superficial)
430s autopkgtest [22:17:27]: test installed-tests: preparing testbed
449s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
508s autopkgtest [22:18:45]: testbed dpkg architecture: arm64
508s autopkgtest [22:18:45]: testbed apt version: 3.1.14
509s autopkgtest [22:18:46]: @@@@@@@@@@@@@@@@@@@@ test bed setup
509s autopkgtest [22:18:46]: testbed release detected to be: resolute
509s autopkgtest [22:18:46]: updating testbed package index (apt update)
511s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
511s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
512s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
512s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
512s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
512s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
512s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
512s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
512s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
512s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
512s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
512s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
512s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
512s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
512s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
512s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
515s Fetched 3322 kB in 3s (1279 kB/s)
516s Reading package lists...
516s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
516s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
516s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
516s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
517s Reading package lists...
517s Reading package lists...
517s Building dependency tree...
517s Reading state information...
518s Calculating upgrade...
518s The following packages will be upgraded:
518s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
518s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
518s Need to get 3280 kB of archives.
518s After this operation, 2048 B of additional disk space will be used.
518s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
518s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
518s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
518s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
518s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
518s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
519s dpkg-preconfigure: unable to re-open stdin: No such file or directory
519s Fetched 3280 kB in 0s (16.2 MB/s)
519s (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 ... 89360 files and directories currently installed.)
519s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
519s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
519s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
519s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
519s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
519s (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 ... 89360 files and directories currently installed.)
519s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
519s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
519s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
520s (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 ... 89360 files and directories currently installed.)
520s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
520s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
520s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
520s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
520s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
520s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
520s Setting up powermgmt-base (1.38ubuntu2) ...
520s Setting up firmware-sof-signed (2025.05.1-1build1) ...
520s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
520s Setting up zstd (1.5.7+dfsg-3) ...
520s Processing triggers for man-db (2.13.1-1) ...
521s Processing triggers for libselinux1:arm64 (3.9-4) ...
521s Processing triggers for libc-bin (2.42-2ubuntu4) ...
521s autopkgtest [22:18:58]: upgrading testbed (apt dist-upgrade and autopurge)
521s Reading package lists...
521s Building dependency tree...
521s Reading state information...
521s Calculating upgrade...
522s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
522s Reading package lists...
522s Building dependency tree...
522s Reading state information...
522s Solving dependencies...
523s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
526s Reading package lists...
526s Building dependency tree...
526s Reading state information...
526s Solving dependencies...
527s The following NEW packages will be installed:
527s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools
527s gnome-desktop-testing libfontenc1 libgbm1 libgio-2.0-dev-bin libgl1
527s libgl1-mesa-dri libglib2.0-bin libglib2.0-dev-bin libglib2.0-tests libglvnd0
527s libglx-mesa0 libglx0 libice6 libpixman-1-0 libsm6 libunwind8 libvulkan1
527s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0
527s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6
527s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1
527s mesa-libgallium native-architecture python3-dbusmock tzdata-legacy
527s x11-common x11-xkb-utils xserver-common xvfb
527s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
527s Need to get 18.6 MB of archives.
527s After this operation, 108 MB of additional disk space will be used.
527s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 dbus-x11 arm64 1.16.2-2ubuntu2 [23.1 kB]
527s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 desktop-file-utils arm64 0.28-1build1 [53.5 kB]
527s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 gir1.2-glib-2.0-dev arm64 2.86.3-4 [865 kB]
527s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 native-architecture all 0.2.6build1 [2256 B]
527s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 girepository-tools arm64 2.86.3-4 [104 kB]
527s Get:6 http://ftpmaster.internal/ubuntu resolute/universe arm64 gnome-desktop-testing arm64 2021.1-5 [16.2 kB]
527s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 libfontenc1 arm64 1:1.1.8-1build2 [13.9 kB]
527s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 libx11-xcb1 arm64 2:1.8.12-1build1 [8216 B]
527s Get:9 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-dri3-0 arm64 1.17.0-2ubuntu1 [7624 B]
527s Get:10 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-present0 arm64 1.17.0-2ubuntu1 [6198 B]
527s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-randr0 arm64 1.17.0-2ubuntu1 [18.1 kB]
527s Get:12 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-sync1 arm64 1.17.0-2ubuntu1 [9620 B]
527s Get:13 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-xfixes0 arm64 1.17.0-2ubuntu1 [10.4 kB]
527s Get:14 http://ftpmaster.internal/ubuntu resolute/main arm64 libxshmfence1 arm64 1.3.3-1 [5378 B]
527s Get:15 http://ftpmaster.internal/ubuntu resolute/main arm64 mesa-libgallium arm64 25.3.3-1ubuntu1 [12.1 MB]
527s Get:16 http://ftpmaster.internal/ubuntu resolute/main arm64 libgbm1 arm64 25.3.3-1ubuntu1 [34.4 kB]
527s Get:17 http://ftpmaster.internal/ubuntu resolute/main arm64 libgio-2.0-dev-bin arm64 2.86.3-4 [128 kB]
527s Get:18 http://ftpmaster.internal/ubuntu resolute/main arm64 libvulkan1 arm64 1.4.335.0-1 [171 kB]
527s Get:19 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1-mesa-dri arm64 25.3.3-1ubuntu1 [36.4 kB]
527s Get:20 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-bin arm64 2.86.3-4 [97.9 kB]
527s Get:21 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-dev-bin arm64 2.86.3-4 [18.2 kB]
527s Get:22 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-dbusmock all 0.38.1-1 [92.0 kB]
527s Get:23 http://ftpmaster.internal/ubuntu resolute/main arm64 tzdata-legacy all 2025c-3ubuntu3 [99.3 kB]
527s Get:24 http://ftpmaster.internal/ubuntu resolute/universe arm64 libglib2.0-tests arm64 2.86.3-4 [2268 kB]
527s Get:25 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-glx0 arm64 1.17.0-2ubuntu1 [25.1 kB]
527s Get:26 http://ftpmaster.internal/ubuntu resolute/main arm64 libxcb-shm0 arm64 1.17.0-2ubuntu1 [5938 B]
527s Get:27 http://ftpmaster.internal/ubuntu resolute/main arm64 libxxf86vm1 arm64 1:1.1.4-2 [10.2 kB]
527s Get:28 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx-mesa0 arm64 25.3.3-1ubuntu1 [110 kB]
527s Get:29 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-common all 1:7.7+24ubuntu1 [22.4 kB]
527s Get:30 http://ftpmaster.internal/ubuntu resolute/main arm64 libice6 arm64 2:1.1.1-1build1 [43.0 kB]
527s Get:31 http://ftpmaster.internal/ubuntu resolute/main arm64 libpixman-1-0 arm64 0.46.4-1 [204 kB]
527s Get:32 http://ftpmaster.internal/ubuntu resolute/main arm64 libsm6 arm64 2:1.2.6-1 [16.6 kB]
527s Get:33 http://ftpmaster.internal/ubuntu resolute/main arm64 libunwind8 arm64 1.8.3-0ubuntu1 [60.8 kB]
527s Get:34 http://ftpmaster.internal/ubuntu resolute/main arm64 libxt6t64 arm64 1:1.2.1-1.3 [168 kB]
527s Get:35 http://ftpmaster.internal/ubuntu resolute/main arm64 libxmu6 arm64 2:1.1.3-4 [47.6 kB]
527s Get:36 http://ftpmaster.internal/ubuntu resolute/main arm64 libxpm4 arm64 1:3.5.17-1build3 [35.5 kB]
527s Get:37 http://ftpmaster.internal/ubuntu resolute/main arm64 libxaw7 arm64 2:1.0.16-1build1 [183 kB]
527s Get:38 http://ftpmaster.internal/ubuntu resolute/main arm64 libxfont2 arm64 1:2.0.6-2 [90.8 kB]
527s Get:39 http://ftpmaster.internal/ubuntu resolute/main arm64 libxkbfile1 arm64 1:1.1.0-1build5 [69.0 kB]
527s Get:40 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrender1 arm64 1:0.9.12-1 [19.5 kB]
527s Get:41 http://ftpmaster.internal/ubuntu resolute/main arm64 libxrandr2 arm64 2:1.5.4-1build1 [19.1 kB]
527s Get:42 http://ftpmaster.internal/ubuntu resolute/main arm64 x11-xkb-utils arm64 7.7+9build1 [165 kB]
527s Get:43 http://ftpmaster.internal/ubuntu resolute/main arm64 xserver-common all 2:21.1.21-1ubuntu1 [34.8 kB]
527s Get:44 http://ftpmaster.internal/ubuntu resolute/main arm64 libglvnd0 arm64 1.7.0-3 [57.9 kB]
527s Get:45 http://ftpmaster.internal/ubuntu resolute/main arm64 libglx0 arm64 1.7.0-3 [33.0 kB]
527s Get:46 http://ftpmaster.internal/ubuntu resolute/main arm64 libgl1 arm64 1.7.0-3 [102 kB]
527s Get:47 http://ftpmaster.internal/ubuntu resolute/universe arm64 xvfb arm64 2:21.1.21-1ubuntu1 [872 kB]
528s Fetched 18.6 MB in 1s (28.4 MB/s)
528s Selecting previously unselected package dbus-x11.
528s (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 ... 89360 files and directories currently installed.)
528s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu2_arm64.deb ...
528s Unpacking dbus-x11 (1.16.2-2ubuntu2) ...
528s Selecting previously unselected package desktop-file-utils.
528s Preparing to unpack .../01-desktop-file-utils_0.28-1build1_arm64.deb ...
528s Unpacking desktop-file-utils (0.28-1build1) ...
528s Selecting previously unselected package gir1.2-glib-2.0-dev:arm64.
528s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.86.3-4_arm64.deb ...
528s Unpacking gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
528s Selecting previously unselected package native-architecture.
528s Preparing to unpack .../03-native-architecture_0.2.6build1_all.deb ...
528s Unpacking native-architecture (0.2.6build1) ...
528s Selecting previously unselected package girepository-tools:arm64.
528s Preparing to unpack .../04-girepository-tools_2.86.3-4_arm64.deb ...
528s Unpacking girepository-tools:arm64 (2.86.3-4) ...
528s Selecting previously unselected package gnome-desktop-testing.
528s Preparing to unpack .../05-gnome-desktop-testing_2021.1-5_arm64.deb ...
528s Unpacking gnome-desktop-testing (2021.1-5) ...
528s Selecting previously unselected package libfontenc1:arm64.
528s Preparing to unpack .../06-libfontenc1_1%3a1.1.8-1build2_arm64.deb ...
528s Unpacking libfontenc1:arm64 (1:1.1.8-1build2) ...
528s Selecting previously unselected package libx11-xcb1:arm64.
528s Preparing to unpack .../07-libx11-xcb1_2%3a1.8.12-1build1_arm64.deb ...
528s Unpacking libx11-xcb1:arm64 (2:1.8.12-1build1) ...
528s Selecting previously unselected package libxcb-dri3-0:arm64.
528s Preparing to unpack .../08-libxcb-dri3-0_1.17.0-2ubuntu1_arm64.deb ...
528s Unpacking libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ...
528s Selecting previously unselected package libxcb-present0:arm64.
528s Preparing to unpack .../09-libxcb-present0_1.17.0-2ubuntu1_arm64.deb ...
528s Unpacking libxcb-present0:arm64 (1.17.0-2ubuntu1) ...
528s Selecting previously unselected package libxcb-randr0:arm64.
528s Preparing to unpack .../10-libxcb-randr0_1.17.0-2ubuntu1_arm64.deb ...
528s Unpacking libxcb-randr0:arm64 (1.17.0-2ubuntu1) ...
528s Selecting previously unselected package libxcb-sync1:arm64.
528s Preparing to unpack .../11-libxcb-sync1_1.17.0-2ubuntu1_arm64.deb ...
528s Unpacking libxcb-sync1:arm64 (1.17.0-2ubuntu1) ...
528s Selecting previously unselected package libxcb-xfixes0:arm64.
528s Preparing to unpack .../12-libxcb-xfixes0_1.17.0-2ubuntu1_arm64.deb ...
528s Unpacking libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ...
528s Selecting previously unselected package libxshmfence1:arm64.
528s Preparing to unpack .../13-libxshmfence1_1.3.3-1_arm64.deb ...
528s Unpacking libxshmfence1:arm64 (1.3.3-1) ...
528s Selecting previously unselected package mesa-libgallium:arm64.
528s Preparing to unpack .../14-mesa-libgallium_25.3.3-1ubuntu1_arm64.deb ...
528s Unpacking mesa-libgallium:arm64 (25.3.3-1ubuntu1) ...
528s Selecting previously unselected package libgbm1:arm64.
528s Preparing to unpack .../15-libgbm1_25.3.3-1ubuntu1_arm64.deb ...
528s Unpacking libgbm1:arm64 (25.3.3-1ubuntu1) ...
528s Selecting previously unselected package libgio-2.0-dev-bin.
528s Preparing to unpack .../16-libgio-2.0-dev-bin_2.86.3-4_arm64.deb ...
528s Unpacking libgio-2.0-dev-bin (2.86.3-4) ...
528s Selecting previously unselected package libvulkan1:arm64.
528s Preparing to unpack .../17-libvulkan1_1.4.335.0-1_arm64.deb ...
528s Unpacking libvulkan1:arm64 (1.4.335.0-1) ...
528s Selecting previously unselected package libgl1-mesa-dri:arm64.
528s Preparing to unpack .../18-libgl1-mesa-dri_25.3.3-1ubuntu1_arm64.deb ...
528s Unpacking libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ...
529s Selecting previously unselected package libglib2.0-bin.
529s Preparing to unpack .../19-libglib2.0-bin_2.86.3-4_arm64.deb ...
529s Unpacking libglib2.0-bin (2.86.3-4) ...
529s Selecting previously unselected package libglib2.0-dev-bin.
529s Preparing to unpack .../20-libglib2.0-dev-bin_2.86.3-4_arm64.deb ...
529s Unpacking libglib2.0-dev-bin (2.86.3-4) ...
529s Selecting previously unselected package python3-dbusmock.
529s Preparing to unpack .../21-python3-dbusmock_0.38.1-1_all.deb ...
529s Unpacking python3-dbusmock (0.38.1-1) ...
529s Selecting previously unselected package tzdata-legacy.
529s Preparing to unpack .../22-tzdata-legacy_2025c-3ubuntu3_all.deb ...
529s Unpacking tzdata-legacy (2025c-3ubuntu3) ...
529s Selecting previously unselected package libglib2.0-tests.
529s Preparing to unpack .../23-libglib2.0-tests_2.86.3-4_arm64.deb ...
529s Unpacking libglib2.0-tests (2.86.3-4) ...
529s Selecting previously unselected package libxcb-glx0:arm64.
529s Preparing to unpack .../24-libxcb-glx0_1.17.0-2ubuntu1_arm64.deb ...
529s Unpacking libxcb-glx0:arm64 (1.17.0-2ubuntu1) ...
529s Selecting previously unselected package libxcb-shm0:arm64.
529s Preparing to unpack .../25-libxcb-shm0_1.17.0-2ubuntu1_arm64.deb ...
529s Unpacking libxcb-shm0:arm64 (1.17.0-2ubuntu1) ...
529s Selecting previously unselected package libxxf86vm1:arm64.
529s Preparing to unpack .../26-libxxf86vm1_1%3a1.1.4-2_arm64.deb ...
529s Unpacking libxxf86vm1:arm64 (1:1.1.4-2) ...
529s Selecting previously unselected package libglx-mesa0:arm64.
529s Preparing to unpack .../27-libglx-mesa0_25.3.3-1ubuntu1_arm64.deb ...
529s Unpacking libglx-mesa0:arm64 (25.3.3-1ubuntu1) ...
529s Selecting previously unselected package x11-common.
529s Preparing to unpack .../28-x11-common_1%3a7.7+24ubuntu1_all.deb ...
529s Unpacking x11-common (1:7.7+24ubuntu1) ...
529s Selecting previously unselected package libice6:arm64.
529s Preparing to unpack .../29-libice6_2%3a1.1.1-1build1_arm64.deb ...
529s Unpacking libice6:arm64 (2:1.1.1-1build1) ...
529s Selecting previously unselected package libpixman-1-0:arm64.
529s Preparing to unpack .../30-libpixman-1-0_0.46.4-1_arm64.deb ...
529s Unpacking libpixman-1-0:arm64 (0.46.4-1) ...
529s Selecting previously unselected package libsm6:arm64.
529s Preparing to unpack .../31-libsm6_2%3a1.2.6-1_arm64.deb ...
529s Unpacking libsm6:arm64 (2:1.2.6-1) ...
529s Selecting previously unselected package libunwind8:arm64.
529s Preparing to unpack .../32-libunwind8_1.8.3-0ubuntu1_arm64.deb ...
529s Unpacking libunwind8:arm64 (1.8.3-0ubuntu1) ...
529s Selecting previously unselected package libxt6t64:arm64.
529s Preparing to unpack .../33-libxt6t64_1%3a1.2.1-1.3_arm64.deb ...
529s Unpacking libxt6t64:arm64 (1:1.2.1-1.3) ...
529s Selecting previously unselected package libxmu6:arm64.
529s Preparing to unpack .../34-libxmu6_2%3a1.1.3-4_arm64.deb ...
529s Unpacking libxmu6:arm64 (2:1.1.3-4) ...
529s Selecting previously unselected package libxpm4:arm64.
529s Preparing to unpack .../35-libxpm4_1%3a3.5.17-1build3_arm64.deb ...
529s Unpacking libxpm4:arm64 (1:3.5.17-1build3) ...
529s Selecting previously unselected package libxaw7:arm64.
529s Preparing to unpack .../36-libxaw7_2%3a1.0.16-1build1_arm64.deb ...
529s Unpacking libxaw7:arm64 (2:1.0.16-1build1) ...
529s Selecting previously unselected package libxfont2:arm64.
529s Preparing to unpack .../37-libxfont2_1%3a2.0.6-2_arm64.deb ...
529s Unpacking libxfont2:arm64 (1:2.0.6-2) ...
529s Selecting previously unselected package libxkbfile1:arm64.
529s Preparing to unpack .../38-libxkbfile1_1%3a1.1.0-1build5_arm64.deb ...
529s Unpacking libxkbfile1:arm64 (1:1.1.0-1build5) ...
529s Selecting previously unselected package libxrender1:arm64.
529s Preparing to unpack .../39-libxrender1_1%3a0.9.12-1_arm64.deb ...
529s Unpacking libxrender1:arm64 (1:0.9.12-1) ...
529s Selecting previously unselected package libxrandr2:arm64.
529s Preparing to unpack .../40-libxrandr2_2%3a1.5.4-1build1_arm64.deb ...
529s Unpacking libxrandr2:arm64 (2:1.5.4-1build1) ...
529s Selecting previously unselected package x11-xkb-utils.
529s Preparing to unpack .../41-x11-xkb-utils_7.7+9build1_arm64.deb ...
529s Unpacking x11-xkb-utils (7.7+9build1) ...
529s Selecting previously unselected package xserver-common.
529s Preparing to unpack .../42-xserver-common_2%3a21.1.21-1ubuntu1_all.deb ...
529s Unpacking xserver-common (2:21.1.21-1ubuntu1) ...
529s Selecting previously unselected package libglvnd0:arm64.
530s Preparing to unpack .../43-libglvnd0_1.7.0-3_arm64.deb ...
530s Unpacking libglvnd0:arm64 (1.7.0-3) ...
530s Selecting previously unselected package libglx0:arm64.
530s Preparing to unpack .../44-libglx0_1.7.0-3_arm64.deb ...
530s Unpacking libglx0:arm64 (1.7.0-3) ...
530s Selecting previously unselected package libgl1:arm64.
530s Preparing to unpack .../45-libgl1_1.7.0-3_arm64.deb ...
530s Unpacking libgl1:arm64 (1.7.0-3) ...
530s Selecting previously unselected package xvfb.
530s Preparing to unpack .../46-xvfb_2%3a21.1.21-1ubuntu1_arm64.deb ...
530s Unpacking xvfb (2:21.1.21-1ubuntu1) ...
530s Setting up gnome-desktop-testing (2021.1-5) ...
530s Setting up libxcb-dri3-0:arm64 (1.17.0-2ubuntu1) ...
530s Setting up libpixman-1-0:arm64 (0.46.4-1) ...
530s Setting up libx11-xcb1:arm64 (2:1.8.12-1build1) ...
530s Setting up libgio-2.0-dev-bin (2.86.3-4) ...
530s Setting up native-architecture (0.2.6build1) ...
530s Setting up libxcb-xfixes0:arm64 (1.17.0-2ubuntu1) ...
530s Setting up desktop-file-utils (0.28-1build1) ...
530s Setting up libxpm4:arm64 (1:3.5.17-1build3) ...
530s Setting up libxrender1:arm64 (1:0.9.12-1) ...
530s Setting up libglvnd0:arm64 (1.7.0-3) ...
530s Setting up libxcb-glx0:arm64 (1.17.0-2ubuntu1) ...
530s Setting up x11-common (1:7.7+24ubuntu1) ...
530s Setting up libglib2.0-bin (2.86.3-4) ...
530s Setting up libxcb-shm0:arm64 (1.17.0-2ubuntu1) ...
530s Setting up python3-dbusmock (0.38.1-1) ...
530s Setting up libunwind8:arm64 (1.8.3-0ubuntu1) ...
530s Setting up tzdata-legacy (2025c-3ubuntu3) ...
530s Setting up libxxf86vm1:arm64 (1:1.1.4-2) ...
530s Setting up libxcb-present0:arm64 (1.17.0-2ubuntu1) ...
530s Setting up libfontenc1:arm64 (1:1.1.8-1build2) ...
530s Setting up libxcb-sync1:arm64 (1.17.0-2ubuntu1) ...
531s Setting up libxrandr2:arm64 (2:1.5.4-1build1) ...
531s Setting up libvulkan1:arm64 (1.4.335.0-1) ...
531s Setting up gir1.2-glib-2.0-dev:arm64 (2.86.3-4) ...
531s Setting up libxshmfence1:arm64 (1.3.3-1) ...
531s Setting up dbus-x11 (1.16.2-2ubuntu2) ...
531s Setting up libxcb-randr0:arm64 (1.17.0-2ubuntu1) ...
531s Setting up libxkbfile1:arm64 (1:1.1.0-1build5) ...
531s Setting up libxfont2:arm64 (1:2.0.6-2) ...
531s Setting up libice6:arm64 (2:1.1.1-1build1) ...
531s Setting up mesa-libgallium:arm64 (25.3.3-1ubuntu1) ...
531s Setting up girepository-tools:arm64 (2.86.3-4) ...
531s Setting up libgbm1:arm64 (25.3.3-1ubuntu1) ...
531s Setting up libgl1-mesa-dri:arm64 (25.3.3-1ubuntu1) ...
531s Setting up libsm6:arm64 (2:1.2.6-1) ...
531s Setting up libglib2.0-dev-bin (2.86.3-4) ...
531s Setting up libglx-mesa0:arm64 (25.3.3-1ubuntu1) ...
531s Setting up libglx0:arm64 (1.7.0-3) ...
531s Setting up libgl1:arm64 (1.7.0-3) ...
531s Setting up libxt6t64:arm64 (1:1.2.1-1.3) ...
531s Setting up libglib2.0-tests (2.86.3-4) ...
531s Setting up libxmu6:arm64 (2:1.1.3-4) ...
531s Setting up libxaw7:arm64 (2:1.0.16-1build1) ...
531s Setting up x11-xkb-utils (7.7+9build1) ...
531s Setting up xserver-common (2:21.1.21-1ubuntu1) ...
531s Setting up xvfb (2:21.1.21-1ubuntu1) ...
531s Processing triggers for man-db (2.13.1-1) ...
531s Processing triggers for libc-bin (2.42-2ubuntu4) ...
539s autopkgtest [22:19:16]: test installed-tests: [-----------------------
539s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd)
539s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
539s group entry: ubuntu:x:1000:
539s Environment:
539s ADTTMP=/tmp/autopkgtest.o1fVkR/autopkgtest_tmp
539s ADT_ARTIFACTS=/tmp/autopkgtest.o1fVkR/installed-tests-artifacts
539s ADT_TEST_TRIGGERS=pcre2/10.46-1build1
539s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.o1fVkR/installed-tests-artifacts
539s AUTOPKGTEST_TESTBED_ARCH=arm64
539s AUTOPKGTEST_TEST_ARCH=arm64
539s AUTOPKGTEST_TMP=/tmp/autopkgtest.o1fVkR/autopkgtest_tmp
539s DEBIAN_FRONTEND=noninteractive
539s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
539s DEB_BUILD_OPTIONS=parallel=2
539s GIO_USE_VFS=local
539s GIO_USE_VOLUME_MONITOR=unix
539s HOME=/home/ubuntu
539s LANG=C.UTF-8
539s LOGNAME=ubuntu
539s MAIL=/var/mail/ubuntu
539s OLDPWD=/home/ubuntu
539s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
539s PWD=/tmp/autopkgtest.o1fVkR/build.GfX/src
539s SHELL=/bin/bash
539s SHLVL=1
539s SUDO_COMMAND=/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.o1fVkR/wrapper.sh --artifacts=/tmp/autopkgtest.o1fVkR/installed-tests-artifacts --chdir=/tmp/autopkgtest.o1fVkR/build.GfX/src --env=AUTOPKGTEST_TESTBED_ARCH=arm64 --env=AUTOPKGTEST_TEST_ARCH=arm64 --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.o1fVkR/installed-tests-stderr --stdout=/tmp/autopkgtest.o1fVkR/installed-tests-stdout --tmp=/tmp/autopkgtest.o1fVkR/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=pcre2/10.46-1build1 --make-executable=/tmp/autopkgtest.o1fVkR/build.GfX/src/debian/tests/installed-tests -- /tmp/autopkgtest.o1fVkR/build.GfX/src/debian/tests/installed-tests
539s SUDO_GID=1000
539s SUDO_HOME=/home/ubuntu
539s SUDO_UID=1000
539s SUDO_USER=ubuntu
539s TERM=linux
539s USER=ubuntu
539s XDG_RUNTIME_DIR=/tmp/autopkgtest.o1fVkR/autopkgtest_tmp
539s http_proxy=http://egress.ps7.internal:3128/
539s https_proxy=http://egress.ps7.internal:3128/
539s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain
539s run-with-locales: de_DE=ISO-8859-1...
539s Character set: ISO-8859-1
539s Source file: de_DE
539s Output: /tmp/tmp.HBgDFBmbzI/de_DE
540s run-with-locales: de_DE.utf8...
540s Character set: UTF-8
540s Source file: de_DE
540s Output: /tmp/tmp.HBgDFBmbzI/de_DE.utf8
542s run-with-locales: de_DE@euro.utf8...
542s Character set: UTF-8
542s Source file: de_DE@euro
542s Output: /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8
544s run-with-locales: el_GR.utf8...
544s Character set: UTF-8
544s Source file: el_GR
544s Output: /tmp/tmp.HBgDFBmbzI/el_GR.utf8
545s run-with-locales: en_GB=ISO-8859-1...
545s Character set: ISO-8859-1
545s Source file: en_GB
545s Output: /tmp/tmp.HBgDFBmbzI/en_GB
545s run-with-locales: en_GB.utf8...
545s Character set: UTF-8
545s Source file: en_GB
545s Output: /tmp/tmp.HBgDFBmbzI/en_GB.utf8
547s run-with-locales: en_US=ISO-8859-1...
547s Character set: ISO-8859-1
547s Source file: en_US
547s Output: /tmp/tmp.HBgDFBmbzI/en_US
548s run-with-locales: en_US.utf8...
548s Character set: UTF-8
548s Source file: en_US
548s Output: /tmp/tmp.HBgDFBmbzI/en_US.utf8
549s run-with-locales: es_ES.utf8...
549s Character set: UTF-8
549s Source file: es_ES
549s Output: /tmp/tmp.HBgDFBmbzI/es_ES.utf8
551s run-with-locales: fa_IR=UTF-8...
551s Character set: UTF-8
551s Source file: fa_IR
551s Output: /tmp/tmp.HBgDFBmbzI/fa_IR
553s run-with-locales: fa_IR.utf8...
553s Character set: UTF-8
553s Source file: fa_IR
553s Output: /tmp/tmp.HBgDFBmbzI/fa_IR.utf8
555s run-with-locales: fr_FR.utf8...
555s Character set: UTF-8
555s Source file: fr_FR
555s Output: /tmp/tmp.HBgDFBmbzI/fr_FR.utf8
556s run-with-locales: hr_HR.utf8...
556s Character set: UTF-8
556s Source file: hr_HR
556s Output: /tmp/tmp.HBgDFBmbzI/hr_HR.utf8
558s run-with-locales: ja_JP.utf8...
558s Character set: UTF-8
558s Source file: ja_JP
558s Output: /tmp/tmp.HBgDFBmbzI/ja_JP.utf8
559s run-with-locales: ja_JP.EUC-JP...
559s Character set: EUC-JP
559s Source file: ja_JP
559s Output: /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp
560s run-with-locales: lt_LT.utf8...
560s Character set: UTF-8
560s Source file: lt_LT
560s Output: /tmp/tmp.HBgDFBmbzI/lt_LT.utf8
561s run-with-locales: pl_PL=ISO-8859-2...
561s Character set: ISO-8859-2
561s Source file: pl_PL
561s Output: /tmp/tmp.HBgDFBmbzI/pl_PL
562s run-with-locales: pl_PL.ISO-8859-2...
562s Character set: ISO-8859-2
562s Source file: pl_PL
562s Output: /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592
562s run-with-locales: pl_PL.utf8...
562s Character set: UTF-8
562s Source file: pl_PL
562s Output: /tmp/tmp.HBgDFBmbzI/pl_PL.utf8
564s run-with-locales: ru_RU=ISO-8859-5...
564s Character set: ISO-8859-5
564s Source file: ru_RU
564s Output: /tmp/tmp.HBgDFBmbzI/ru_RU
564s run-with-locales: ru_RU.utf8...
564s Character set: UTF-8
564s Source file: ru_RU
564s Output: /tmp/tmp.HBgDFBmbzI/ru_RU.utf8
566s run-with-locales: sr_RS=UTF-8...
566s Character set: UTF-8
566s Source file: sr_RS
566s Output: /tmp/tmp.HBgDFBmbzI/sr_RS
568s run-with-locales: sr_RS@latin=UTF-8...
568s Character set: UTF-8
568s Source file: sr_RS@latin
568s Output: /tmp/tmp.HBgDFBmbzI/sr_RS@latin
570s run-with-locales: sv_SE=ISO-8859-1...
570s Character set: ISO-8859-1
570s Source file: sv_SE
570s Output: /tmp/tmp.HBgDFBmbzI/sv_SE
570s run-with-locales: sv_SE.utf8...
570s Character set: UTF-8
570s Source file: sv_SE
570s Output: /tmp/tmp.HBgDFBmbzI/sv_SE.utf8
572s run-with-locales: tr_TR=ISO-8859-9...
572s Character set: ISO-8859-9
572s Source file: tr_TR
572s Output: /tmp/tmp.HBgDFBmbzI/tr_TR
572s run-with-locales: tr_TR.utf8...
572s Character set: UTF-8
572s Source file: tr_TR
572s Output: /tmp/tmp.HBgDFBmbzI/tr_TR.utf8
574s run-with-locales: tt_RU=UTF-8...
574s Character set: UTF-8
574s Source file: tt_RU
574s Output: /tmp/tmp.HBgDFBmbzI/tt_RU
576s run-with-locales: tt_RU.utf8...
576s Character set: UTF-8
576s Source file: tt_RU
576s Output: /tmp/tmp.HBgDFBmbzI/tt_RU.utf8
577s run-with-locales: tt_RU@iqtelif=UTF-8...
577s Character set: UTF-8
577s Source file: tt_RU@iqtelif
577s Output: /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif
579s /tmp/tmp.HBgDFBmbzI
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/pl_PL.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/fa_IR.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/de_DE.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/sv_SE
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/sv_SE/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/tt_RU
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/tt_RU/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/tr_TR
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/tr_TR/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/lt_LT.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/en_GB.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/en_GB
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/en_GB/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/en_US
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/en_US/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/ja_JP.eucjp/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/sr_RS@latin/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/es_ES.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/de_DE
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/de_DE/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/tr_TR.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/ru_RU
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/ru_RU/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/sr_RS
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/sr_RS/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/sv_SE.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/tt_RU@iqtelif/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/en_US.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/fr_FR.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/pl_PL
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/pl_PL/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/tt_RU.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/pl_PL.iso88592/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/ru_RU.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/ja_JP.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/fa_IR
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/fa_IR/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/el_GR.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/de_DE@euro.utf8/LC_COLLATE
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_IDENTIFICATION
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_CTYPE
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_MONETARY
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_MEASUREMENT
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_NAME
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_TIME
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_ADDRESS
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_NUMERIC
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_TELEPHONE
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_PAPER
579s /tmp/tmp.HBgDFBmbzI/hr_HR.utf8/LC_COLLATE
579s TAP version 14
579s # random seed: R02S51ef62c83a2d0a89696be06d5e268fe3
579s 1..3
579s # Start of io-stream tests
579s ok 1 /io-stream/copy-chunks
579s # Start of close tests
579s # Start of async tests
579s ok 2 /io-stream/close/async/memory
579s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
579s ok 3 /io-stream/close/async/file
579s # End of async tests
579s # End of close tests
579s # End of io-stream tests
579s TAP version 14
579s # random seed: R02S11ed01c8f38d1b449de45b9ace3096e5
579s 1..28
579s # Start of base64 tests
579s ok 1 /base64/encode
579s ok 2 /base64/decode
579s ok 3 /base64/decode-inplace
579s ok 4 /base64/encode-decode
579s # Start of full tests
579s ok 5 /base64/full/1
579s ok 6 /base64/full/2
579s ok 7 /base64/full/3
579s ok 8 /base64/full/4
579s # End of full tests
579s # Start of encode tests
579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
579s ok 9 /base64/encode/empty
579s # Start of incremental tests
579s # Start of small-block tests
579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
579s ok 10 /base64/encode/incremental/small-block/1
579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
579s ok 11 /base64/encode/incremental/small-block/2
579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
579s ok 12 /base64/encode/incremental/small-block/3
579s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
579s ok 13 /base64/encode/incremental/small-block/4
579s # End of small-block tests
579s # End of incremental tests
579s # End of encode tests
579s # Start of incremental tests
579s # Start of nobreak tests
579s ok 14 /base64/incremental/nobreak/1
579s ok 15 /base64/incremental/nobreak/2
579s ok 16 /base64/incremental/nobreak/3
579s ok 17 /base64/incremental/nobreak/4-a
579s ok 18 /base64/incremental/nobreak/4-b
579s ok 19 /base64/incremental/nobreak/4-c
579s # End of nobreak tests
579s # Start of break tests
579s ok 20 /base64/incremental/break/1
579s ok 21 /base64/incremental/break/2
579s ok 22 /base64/incremental/break/3
579s # End of break tests
579s # Start of smallblock tests
579s ok 23 /base64/incremental/smallblock/1
579s ok 24 /base64/incremental/smallblock/2
579s ok 25 /base64/incremental/smallblock/3
579s ok 26 /base64/incremental/smallblock/4
579s # End of smallblock tests
579s # End of incremental tests
579s # Start of decode tests
579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
579s ok 27 /base64/decode/empty
579s # End of decode tests
579s # Start of encode-decode tests
579s # Vector 0:
579s # Vector 1: f
579s # Vector 2: fo
579s # Vector 3: foo
579s # Vector 4: foob
579s # Vector 5: fooba
579s # Vector 6: foobar
579s ok 28 /base64/encode-decode/rfc4648
579s # End of encode-decode tests
579s # End of base64 tests
579s TAP version 14
579s # random seed: R02S3da6436e7fe14ed0ba0daf19d82e9cde
579s 1..10
579s # Start of timer tests
579s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
579s ok 2 /timer/stop
579s ok 3 /timer/continue
579s ok 4 /timer/reset
579s ok 5 /timer/is_active
579s # End of timer tests
579s # Start of timeval tests
579s ok 6 /timeval/add
579s ok 7 /timeval/from-iso8601
579s ok 8 /timeval/to-iso8601
579s # Start of to-iso8601 tests
579s ok 9 /timeval/to-iso8601/overflow
579s # End of to-iso8601 tests
579s # End of timeval tests
579s # Start of usleep tests
579s ok 1..332
579s # Running test: glib/io-stream.test
579s ok - glib/io-stream.test
579s # Running test: glib/base64.test
579s ok - glib/base64.test
579s # Running test: glib/timer.test
579s ok - glib/timer.test
579s # Running test: glib/trash.test
579s ok - glib/trash.test
579s # Running test: glib/dump.test
579s 10 /usleep/with-zero-wait
579s # End of usleep tests
579s TAP version 14
579s # random seed: R02S1886085a8d30be62fe9abfdc41112b41
579s 1..3
579s # Start of trash tests
579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
579s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
579s # File: /tmp/test-trash4QUHK3 (parent st_dev: 64769)
579s # Home: /home/ubuntu (st_dev: 64769)
579s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
579s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
579s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist
579s ok 3 /trash/long-filename
579s # End of trash tests
579s TAP version 14
579s # random seed: R02S887473820154d25c5c762ab1fcd2678c
579s 1..4
579s # Start of dump tests
579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/home
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/cache
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/system-config1:/tmp/test_dump_X9SHK3/dump/empty-file/.dirs/system-config2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/config
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/system-data1:/tmp/test_dump_X9SHK3/dump/empty-file/.dirs/system-data2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/data
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/state
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X9SHK3/dump/empty-file/.dirs/runtime
579s ok 1 /dump/empty-file
579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/home
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/cache
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/system-config2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/config
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/system-data2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/data
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/state
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X9SHK3/dump/missing-get-type/.dirs/runtime
579s Invalid GType function: 'does_not_exist_get_type'
579s ok 2 /dump/missing-get-type
579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/home
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/cache
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/system-config2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/config
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/system-data2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/data
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/state
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X9SHK3/dump/missing-quark/.dirs/runtime
579s Invalid error quark function: 'does_not_exist_error'
579s ok 3 /dump/missing-quark
579s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_X9SHK3/dump/basic/.dirs/home
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_X9SHK3/dump/basic/.dirs/cache
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_X9SHK3/dump/basic/.dirs/system-config1:/tmp/test_dump_X9SHK3/dump/basic/.dirs/system-config2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_X9SHK3/dump/basic/.dirs/config
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_X9SHK3/dump/basic/.dirs/system-data1:/tmp/test_dump_X9SHK3/dump/basic/.dirs/system-data2
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_X9SHK3/dump/basic/.dirs/data
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_X9SHK3/dump/basic/.dirs/state
579s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_X9SHK3/dump/basic/.dirs/runtime
579s ok 4 /dump/basic
579s # End of dump tests
579s ok - glib/dump.test
579s # Running test: glib/mkenums.py.test
579s TAP version 13
579s ok 1 __main__.TestMkenums.test_available_in
579s # glib-mkenums: /usr/bin/glib-mkenums
579s # tmpdir: /tmp/tmpopxuxu1u
579s # rspfile: False
579s # /tmp/tmpopxuxu1u/tmpucyztmg_.h:
579s # typedef enum {
579s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
579s # } GDBusServerFlags;
579s #
579s # /tmp/tmpopxuxu1u/tmp5g8_rfib.template:
579s # /*** BEGIN file-header ***/
579s # file-header
579s # /*** END file-header ***/
579s #
579s # /*** BEGIN file-production ***/
579s # file-production
579s # filename: @filename@
579s # basename: @basename@
579s # /*** END file-production ***/
579s #
579s # /*** BEGIN enumeration-production ***/
579s # enumeration-production
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END enumeration-production ***/
579s #
579s # /*** BEGIN value-header ***/
579s # value-header
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-header ***/
579s #
579s # /*** BEGIN value-production ***/
579s # value-production
579s # VALUENAME: @VALUENAME@
579s # valuenick: @valuenick@
579s # valuenum: @valuenum@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-production ***/
579s #
579s # /*** BEGIN value-tail ***/
579s # value-tail
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-tail ***/
579s #
579s # /*** BEGIN comment ***/
579s # comment
579s # comment: @comment@
579s # /*** END comment ***/
579s #
579s # /*** BEGIN file-tail ***/
579s # file-tail
579s # /*** END file-tail ***/
579s #
579s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpopxuxu1u/tmp5g8_rfib.template', '/tmp/tmpopxuxu1u/tmpucyztmg_.h']
579s # Return code: 0
579s # Output:
579s # comment
579s # 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.
579s #
579s #
579s # file-header
579s # file-production
579s # filename: /tmp/tmpopxuxu1u/tmpucyztmg_.h
579s # basename: tmpucyztmg_.h
579s # enumeration-production
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-header
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-production
579s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
579s # valuenick: user
579s # valuenum: 4
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-tail
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # file-tail
579s #
579s # comment
579s # comment: Generated data ends here
579s # Error:
579s ok 2 __main__.TestMkenums.test_comma_in_enum_value
579s # glib-mkenums: /usr/bin/glib-mkenums
579s # tmpdir: /tmp/tmpcj8k_6o8
579s # rspfile: False
579s # /tmp/tmpcj8k_6o8/tmpjxcfcw_l.h:
579s # typedef enum {
579s # ENUM_VALUE_WITH_COMMA = ',',
579s # } TestCommaEnum;
579s #
579s # /tmp/tmpcj8k_6o8/tmpmzpxncfv.template:
579s # /*** BEGIN file-header ***/
579s # file-header
579s # /*** END file-header ***/
579s #
579s # /*** BEGIN file-production ***/
579s # file-production
579s # filename: @filename@
579s # basename: @basename@
579s # /*** END file-production ***/
579s #
579s # /*** BEGIN enumeration-production ***/
579s # enumeration-production
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END enumeration-production ***/
579s #
579s # /*** BEGIN value-header ***/
579s # value-header
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-header ***/
579s #
579s # /*** BEGIN value-production ***/
579s # value-production
579s # VALUENAME: @VALUENAME@
579s # valuenick: @valuenick@
579s # valuenum: @valuenum@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-production ***/
579s #
579s # /*** BEGIN value-tail ***/
579s # value-tail
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-tail ***/
579s #
579s # /*** BEGIN comment ***/
579s # comment
579s # comment: @comment@
579s # /*** END comment ***/
579s #
579s # /*** BEGIN file-tail ***/
579s # file-tail
579s # /*** END file-tail ***/
579s #
579s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcj8k_6o8/tmpmzpxncfv.template', '/tmp/tmpcj8k_6o8/tmpjxcfcw_l.h']
579s # Return code: 0
579s # Output:
579s # comment
579s # 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.
579s #
579s #
579s # file-header
579s # file-production
579s # filename: /tmp/tmpcj8k_6o8/tmpjxcfcw_l.h
579s # basename: tmpjxcfcw_l.h
579s # enumeration-production
579s # EnumName: TestCommaEnum
579s # enum_name: test_comma_enum
579s # ENUMNAME: TEST_COMMA_ENUM
579s # ENUMSHORT: COMMA_ENUM
579s # ENUMPREFIX: TEST
579s # enumsince:
579s # type: enum
579s # Type: Enum
579s # TYPE: ENUM
579s # value-header
579s # EnumName: TestCommaEnum
579s # enum_name: test_comma_enum
579s # ENUMNAME: TEST_COMMA_ENUM
579s # ENUMSHORT: COMMA_ENUM
579s # ENUMPREFIX: TEST
579s # enumsince:
579s # type: enum
579s # Type: Enum
579s # TYPE: ENUM
579s # value-production
579s # VALUENAME: ENUM_VALUE_WITH_COMMA
579s # valuenick: comma
579s # valuenum: 44
579s # type: enum
579s # Type: Enum
579s # TYPE: ENUM
579s # value-tail
579s # EnumName: TestCommaEnum
579s # enum_name: test_comma_enum
579s # ENUMNAME: TEST_COMMA_ENUM
579s # ENUMSHORT: COMMA_ENUM
579s # ENUMPREFIX: TEST
579s # enumsince:
579s # type: enum
579s # Type: Enum
579s # TYPE: ENUM
579s # file-tail
579s #
579s # comment
579s # comment: Generated data ends here
579s # Error:
579s ok 3 __main__.TestMkenums.test_deprecated_in
579s # glib-mkenums: /usr/bin/glib-mkenums
579s # tmpdir: /tmp/tmpj6qfe3i6
579s # rspfile: False
579s # /tmp/tmpj6qfe3i6/tmpbl326ss4.h:
579s # typedef enum {
579s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
579s # } GDBusServerFlags;
579s #
579s # /tmp/tmpj6qfe3i6/tmpwpf_epk0.template:
579s # /*** BEGIN file-header ***/
579s # file-header
579s # /*** END file-header ***/
579s #
579s # /*** BEGIN file-production ***/
579s # file-production
579s # filename: @filename@
579s # basename: @basename@
579s # /*** END file-production ***/
579s #
579s # /*** BEGIN enumeration-production ***/
579s # enumeration-production
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END enumeration-production ***/
579s #
579s # /*** BEGIN value-header ***/
579s # value-header
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-header ***/
579s #
579s # /*** BEGIN value-production ***/
579s # value-production
579s # VALUENAME: @VALUENAME@
579s # valuenick: @valuenick@
579s # valuenum: @valuenum@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-production ***/
579s #
579s # /*** BEGIN value-tail ***/
579s # value-tail
579s # EnumName: @EnumName@
579s # enum_name: @enum_name@
579s # ENUMNAME: @ENUMNAME@
579s # ENUMSHORT: @ENUMSHORT@
579s # ENUMPREFIX: @ENUMPREFIX@
579s # enumsince: @enumsince@
579s # type: @type@
579s # Type: @Type@
579s # TYPE: @TYPE@
579s # /*** END value-tail ***/
579s #
579s # /*** BEGIN comment ***/
579s # comment
579s # comment: @comment@
579s # /*** END comment ***/
579s #
579s # /*** BEGIN file-tail ***/
579s # file-tail
579s # /*** END file-tail ***/
579s #
579s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpj6qfe3i6/tmpwpf_epk0.template', '/tmp/tmpj6qfe3i6/tmpbl326ss4.h']
579s # Return code: 0
579s # Output:
579s # comment
579s # 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.
579s #
579s #
579s # file-header
579s # file-production
579s # filename: /tmp/tmpj6qfe3i6/tmpbl326ss4.h
579s # basename: tmpbl326ss4.h
579s # enumeration-production
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-header
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-production
579s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
579s # valuenick: user
579s # valuenum: 4
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # value-tail
579s # EnumName: GDBusServerFlags
579s # enum_name: g_dbus_server_flags
579s # ENUMNAME: G_DBUS_SERVER_FLAGS
579s # ENUMSHORT: DBUS_SERVER_FLAGS
579s # ENUMPREFIX: G
579s # enumsince:
579s # type: flags
579s # Type: Flags
579s # TYPE: FLAGS
579s # file-tail
579s #
579s # comment
579s # comment: Generated data ends here
579s # Error:
580s ok 4 __main__.TestMkenums.test_deprecated_in_for
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp7q8ezx9m
580s # rspfile: False
580s # /tmp/tmp7q8ezx9m/tmpmh_totyw.h:
580s # typedef enum {
580s # 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)
580s # } GDBusServerFlags;
580s #
580s # /tmp/tmp7q8ezx9m/tmp8foo2fuo.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp7q8ezx9m/tmp8foo2fuo.template', '/tmp/tmp7q8ezx9m/tmpmh_totyw.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmp7q8ezx9m/tmpmh_totyw.h
580s # basename: tmpmh_totyw.h
580s # enumeration-production
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-header
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-production
580s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
580s # valuenick: user
580s # valuenum: 4
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-tail
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 5 __main__.TestMkenums.test_empty_header
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmprynzekty
580s # rspfile: False
580s # /tmp/tmprynzekty/tmpf6u5odnd.h:
580s # /tmp/tmprynzekty/tmpjlqpno1k.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprynzekty/tmpjlqpno1k.template', '/tmp/tmprynzekty/tmpf6u5odnd.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 6 __main__.TestMkenums.test_empty_template
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpk37_c7ja
580s # rspfile: False
580s # /tmp/tmpk37_c7ja/tmp9tzg055q.template:
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpk37_c7ja/tmp9tzg055q.template']
580s # Return code: 0
580s # Output:
580s # /* 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. */
580s #
580s #
580s # /* Generated data ends here */
580s # Error:
580s ok 7 __main__.TestMkenums.test_enum_name
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpyt_4fbb8
580s # rspfile: False
580s # /tmp/tmpyt_4fbb8/tmp1g5ygecx.h:
580s # typedef enum _SomeEnumIdentifier {
580s # ENUM_VALUE
580s # } SomeEnumIdentifier;
580s #
580s # /tmp/tmpyt_4fbb8/tmp62401xvc.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpyt_4fbb8/tmp62401xvc.template', '/tmp/tmpyt_4fbb8/tmp1g5ygecx.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpyt_4fbb8/tmp1g5ygecx.h
580s # basename: tmp1g5ygecx.h
580s # enumeration-production
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE
580s # valuenick: value
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 8 __main__.TestMkenums.test_enum_private_public
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpnyfmw15f
580s # rspfile: False
580s # /tmp/tmpnyfmw15f/tmpjd8xb2sr.h:
580s # typedef enum {
580s # ENUM_VALUE_PUBLIC1,
580s # /*< private >*/
580s # ENUM_VALUE_PRIVATE,
580s # } SomeEnumA
580s #
580s # /tmp/tmpnyfmw15f/tmpk5kzl1_r.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnyfmw15f/tmpk5kzl1_r.template', '/tmp/tmpnyfmw15f/tmpjd8xb2sr.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpnyfmw15f/tmpjd8xb2sr.h
580s # basename: tmpjd8xb2sr.h
580s # enumeration-production
580s # EnumName: SomeEnumA
580s # enum_name: some_enum_a
580s # ENUMNAME: SOME_ENUM_A
580s # ENUMSHORT: ENUM_A
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: SomeEnumA
580s # enum_name: some_enum_a
580s # ENUMNAME: SOME_ENUM_A
580s # ENUMSHORT: ENUM_A
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE_PUBLIC1
580s # valuenick: public1
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: SomeEnumA
580s # enum_name: some_enum_a
580s # ENUMNAME: SOME_ENUM_A
580s # ENUMSHORT: ENUM_A
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s #
580s # /tmp/tmpnyfmw15f/tmpxh3c211m.h:
580s # typedef enum {
580s # /*< private >*/
580s # ENUM_VALUE_PRIVATE,
580s # /*< public >*/
580s # ENUM_VALUE_PUBLIC2,
580s # } SomeEnumB;
580s #
580s # /tmp/tmpnyfmw15f/tmp131ztild.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpnyfmw15f/tmp131ztild.template', '/tmp/tmpnyfmw15f/tmpxh3c211m.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpnyfmw15f/tmpxh3c211m.h
580s # basename: tmpxh3c211m.h
580s # enumeration-production
580s # EnumName: SomeEnumB
580s # enum_name: some_enum_b
580s # ENUMNAME: SOME_ENUM_B
580s # ENUMSHORT: ENUM_B
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: SomeEnumB
580s # enum_name: some_enum_b
580s # ENUMNAME: SOME_ENUM_B
580s # ENUMSHORT: ENUM_B
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE_PUBLIC2
580s # valuenick: public2
580s # valuenum: 1
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: SomeEnumB
580s # enum_name: some_enum_b
580s # ENUMNAME: SOME_ENUM_B
580s # ENUMSHORT: ENUM_B
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpesrpokfe
580s # rspfile: False
580s # /tmp/tmpesrpokfe/tmpzexihux2.h:
580s # typedef enum {
580s # /*< private >*/
580s # ENUM_VALUE_PRIVATE = 5,
580s # /*< public >*/
580s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
580s # } TestSymbolicEnum;
580s #
580s # /tmp/tmpesrpokfe/tmpmcyku8yp.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpesrpokfe/tmpmcyku8yp.template', '/tmp/tmpesrpokfe/tmpzexihux2.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpesrpokfe/tmpzexihux2.h
580s # basename: tmpzexihux2.h
580s # enumeration-production
580s # EnumName: TestSymbolicEnum
580s # enum_name: test_symbolic_enum
580s # ENUMNAME: TEST_SYMBOLIC_ENUM
580s # ENUMSHORT: SYMBOLIC_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: TestSymbolicEnum
580s # enum_name: test_symbolic_enum
580s # ENUMNAME: TEST_SYMBOLIC_ENUM
580s # ENUMSHORT: SYMBOLIC_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE_PUBLIC
580s # valuenick: public
580s # valuenum: 7
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: TestSymbolicEnum
580s # enum_name: test_symbolic_enum
580s # ENUMNAME: TEST_SYMBOLIC_ENUM
580s # ENUMSHORT: SYMBOLIC_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpfolzru00
580s # rspfile: False
580s # /tmp/tmpfolzru00/tmpglrx_bjj.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-tail ***/
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpfolzru00/tmpglrx_bjj.template']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # filename: @filename@
580s # basename: @basename@
580s # file-tail
580s # filename: @filename@
580s # basename: @basename@
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s # WARNING: @filename@ used in file-header section.
580s # WARNING: @basename@ used in file-header section.
580s # WARNING: @filename@ used in file-tail section.
580s # WARNING: @basename@ used in file-tail section.
580s ok 11 __main__.TestMkenums.test_help
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp7buzt2k9
580s # rspfile: False
580s # Running: ['/usr/bin/glib-mkenums', '--help']
580s # Return code: 0
580s # Output:
580s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
580s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
580s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
580s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
580s # [--comments COMMENT_TMPL] [--template TEMPLATE]
580s # [--output OUTPUT] [--version]
580s # [args ...]
580s #
580s # positional arguments:
580s # args One or more input files, or a single argument
580s # @rspfile_path pointing to a file that contains the
580s # actual arguments
580s #
580s # options:
580s # -h, --help show this help message and exit
580s # --identifier-prefix IDPREFIX
580s # Identifier prefix
580s # --symbol-prefix SYMPREFIX
580s # Symbol prefix
580s # --fhead FHEAD Output file header
580s # --ftail FTAIL Output file footer
580s # --fprod FPROD Put out TEXT every time a new input file is being
580s # processed.
580s # --eprod EPROD Per enum text, produced prior to value iterations
580s # --vhead VHEAD Value header, produced before iterating over enum
580s # values
580s # --vprod VPROD Value text, produced for each enum value.
580s # --vtail VTAIL Value tail, produced after iterating over enum values
580s # --comments COMMENT_TMPL
580s # Comment structure
580s # --template TEMPLATE Template file
580s # --output OUTPUT
580s # --version, -v Print version information
580s #
580s # Production text substitutions:
580s # @EnumName@ PrefixTheXEnum
580s # @enum_name@ prefix_the_xenum
580s # @ENUMNAME@ PREFIX_THE_XENUM
580s # @ENUMSHORT@ THE_XENUM
580s # @ENUMPREFIX@ PREFIX
580s # @enumsince@ the user-provided since value given
580s # @VALUENAME@ PREFIX_THE_XVALUE
580s # @valuenick@ the-xvalue
580s # @valuenum@ the integer value (limited support, Since: 2.26)
580s # @type@ either enum or flags
580s # @Type@ either Enum or Flags
580s # @TYPE@ either ENUM or FLAGS
580s # @filename@ name of current input file
580s # @basename@ base name of the current input file (Since: 2.22)
580s # Error:
580s ok 12 __main__.TestMkenums.test_no_args
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpzz0lkxv5
580s # rspfile: False
580s # Running: ['/usr/bin/glib-mkenums']
580s # Return code: 0
580s # Output:
580s # /* 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. */
580s #
580s #
580s # /* Generated data ends here */
580s # Error:
580s ok 13 __main__.TestMkenums.test_no_headers
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp0qgi9c4p
580s # rspfile: False
580s # /tmp/tmp0qgi9c4p/tmpoxod11ru.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0qgi9c4p/tmpoxod11ru.template']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 14 __main__.TestMkenums.test_no_nick
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp1fof8su7
580s # rspfile: False
580s # /tmp/tmp1fof8su7/tmp2mhxzn2w.h:
580s # typedef enum {
580s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
580s # } GeglSamplerType;
580s #
580s # /tmp/tmp1fof8su7/tmphbqqaryz.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp1fof8su7/tmphbqqaryz.template', '/tmp/tmp1fof8su7/tmp2mhxzn2w.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmp1fof8su7/tmp2mhxzn2w.h
580s # basename: tmp2mhxzn2w.h
580s # enumeration-production
580s # EnumName: GeglSamplerType
580s # enum_name: gegl_sampler_type
580s # ENUMNAME: GEGL_SAMPLER_TYPE
580s # ENUMSHORT: SAMPLER_TYPE
580s # ENUMPREFIX: GEGL
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: GeglSamplerType
580s # enum_name: gegl_sampler_type
580s # ENUMNAME: GEGL_SAMPLER_TYPE
580s # ENUMSHORT: SAMPLER_TYPE
580s # ENUMPREFIX: GEGL
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: GEGL_SAMPLER_NEAREST
580s # valuenick: nearest
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: GeglSamplerType
580s # enum_name: gegl_sampler_type
580s # ENUMNAME: GEGL_SAMPLER_TYPE
580s # ENUMSHORT: SAMPLER_TYPE
580s # ENUMPREFIX: GEGL
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 15 __main__.TestMkenums.test_non_utf8_encoding
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpam8zybqm
580s # rspfile: False
580s # /tmp/tmpam8zybqm/tmpf_jx_4gt.h:
580s # /* Copyright © La Peña */
580s # typedef enum {
580s # ENUM_VALUE
580s # } SomeEnumIdentifier;
580s #
580s # /tmp/tmpam8zybqm/tmpjpm_qx04.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpam8zybqm/tmpjpm_qx04.template', '/tmp/tmpam8zybqm/tmpf_jx_4gt.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpam8zybqm/tmpf_jx_4gt.h
580s # basename: tmpf_jx_4gt.h
580s # enumeration-production
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE
580s # valuenick: value
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: SomeEnumIdentifier
580s # enum_name: some_enum_identifier
580s # ENUMNAME: SOME_ENUM_IDENTIFIER
580s # ENUMSHORT: ENUM_IDENTIFIER
580s # ENUMPREFIX: SOME
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
580s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
580s ok 16 __main__.TestMkenums.test_reproducible
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmplsu6yh9n
580s # rspfile: False
580s # /tmp/tmplsu6yh9n/tmp7a3dn6t5.template: template
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplsu6yh9n/tmp7a3dn6t5.template', '/tmp/tmplsu6yh9n/tmpzs1hu_et1.h', '/tmp/tmplsu6yh9n/tmpod3uutny2.h']
580s # Return code: 0
580s # Output:
580s # /* 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. */
580s #
580s #
580s # /* Generated data ends here */
580s # Error:
580s #
580s # /tmp/tmplsu6yh9n/tmp9ek5ioi9.template: template
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmplsu6yh9n/tmp9ek5ioi9.template', '/tmp/tmplsu6yh9n/tmpod3uutny2.h', '/tmp/tmplsu6yh9n/tmpzs1hu_et1.h']
580s # Return code: 0
580s # Output:
580s # /* 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. */
580s #
580s #
580s # /* Generated data ends here */
580s # Error:
580s ok 17 __main__.TestMkenums.test_since
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp8cbrb94u
580s # rspfile: False
580s # /tmp/tmp8cbrb94u/tmpbqt6at_2.h:
580s # typedef enum { /*< since=1.0 >*/
580s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
580s # } QmiWmsMessageProtocol;
580s #
580s # /tmp/tmp8cbrb94u/tmpg33tq98j.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8cbrb94u/tmpg33tq98j.template', '/tmp/tmp8cbrb94u/tmpbqt6at_2.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmp8cbrb94u/tmpbqt6at_2.h
580s # basename: tmpbqt6at_2.h
580s # enumeration-production
580s # EnumName: QmiWmsMessageProtocol
580s # enum_name: qmi_wms_message_protocol
580s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
580s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
580s # ENUMPREFIX: QMI
580s # enumsince: 1.0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: QmiWmsMessageProtocol
580s # enum_name: qmi_wms_message_protocol
580s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
580s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
580s # ENUMPREFIX: QMI
580s # enumsince: 1.0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
580s # valuenick: cdma
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: QmiWmsMessageProtocol
580s # enum_name: qmi_wms_message_protocol
580s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
580s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
580s # ENUMPREFIX: QMI
580s # enumsince: 1.0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 18 __main__.TestMkenums.test_with_double_quotes
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp6n5yn_n5
580s # rspfile: False
580s # /tmp/tmp6n5yn_n5/tmp3a6zorft.h:
580s # typedef enum {
580s # FOO_VALUE /*< nick="eek, a comma" >*/
580s # } Foo;
580s #
580s # /tmp/tmp6n5yn_n5/tmp77rcf4iu.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp6n5yn_n5/tmp77rcf4iu.template', '/tmp/tmp6n5yn_n5/tmp3a6zorft.h']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmp6n5yn_n5/tmp3a6zorft.h
580s # basename: tmp3a6zorft.h
580s # enumeration-production
580s # EnumName: Foo
580s # enum_name: foo_
580s # ENUMNAME: FOO_
580s # ENUMSHORT:
580s # ENUMPREFIX: FOO
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: Foo
580s # enum_name: foo_
580s # ENUMNAME: FOO_
580s # ENUMSHORT:
580s # ENUMPREFIX: FOO
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: FOO_VALUE
580s # valuenick: eek, a comma
580s # valuenum: 0
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: Foo
580s # enum_name: foo_
580s # ENUMNAME: FOO_
580s # ENUMSHORT:
580s # ENUMPREFIX: FOO
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 19 __main__.TestRspMkenums.test_available_in
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpw8pvxjjj
580s # rspfile: True
580s # /tmp/tmpw8pvxjjj/tmp4o6csdzp.h:
580s # typedef enum {
580s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
580s # } GDBusServerFlags;
580s #
580s # /tmp/tmpw8pvxjjj/tmpvoa305i2.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Response file contains: --template /tmp/tmpw8pvxjjj/tmpvoa305i2.template /tmp/tmpw8pvxjjj/tmp4o6csdzp.h
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw8pvxjjj/tmpud5xyefz']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpw8pvxjjj/tmp4o6csdzp.h
580s # basename: tmp4o6csdzp.h
580s # enumeration-production
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-header
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-production
580s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
580s # valuenick: user
580s # valuenum: 4
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-tail
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpk2fr3n6k
580s # rspfile: True
580s # /tmp/tmpk2fr3n6k/tmphxss0auo.h:
580s # typedef enum {
580s # ENUM_VALUE_WITH_COMMA = ',',
580s # } TestCommaEnum;
580s #
580s # /tmp/tmpk2fr3n6k/tmp9sd0rpo_.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Response file contains: --template /tmp/tmpk2fr3n6k/tmp9sd0rpo_.template /tmp/tmpk2fr3n6k/tmphxss0auo.h
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpk2fr3n6k/tmpz6k1vvhw']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpk2fr3n6k/tmphxss0auo.h
580s # basename: tmphxss0auo.h
580s # enumeration-production
580s # EnumName: TestCommaEnum
580s # enum_name: test_comma_enum
580s # ENUMNAME: TEST_COMMA_ENUM
580s # ENUMSHORT: COMMA_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-header
580s # EnumName: TestCommaEnum
580s # enum_name: test_comma_enum
580s # ENUMNAME: TEST_COMMA_ENUM
580s # ENUMSHORT: COMMA_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-production
580s # VALUENAME: ENUM_VALUE_WITH_COMMA
580s # valuenick: comma
580s # valuenum: 44
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # value-tail
580s # EnumName: TestCommaEnum
580s # enum_name: test_comma_enum
580s # ENUMNAME: TEST_COMMA_ENUM
580s # ENUMSHORT: COMMA_ENUM
580s # ENUMPREFIX: TEST
580s # enumsince:
580s # type: enum
580s # Type: Enum
580s # TYPE: ENUM
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 21 __main__.TestRspMkenums.test_deprecated_in
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpi5wyw9e7
580s # rspfile: True
580s # /tmp/tmpi5wyw9e7/tmp3ub0frh2.h:
580s # typedef enum {
580s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
580s # } GDBusServerFlags;
580s #
580s # /tmp/tmpi5wyw9e7/tmplgqg1604.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Response file contains: --template /tmp/tmpi5wyw9e7/tmplgqg1604.template /tmp/tmpi5wyw9e7/tmp3ub0frh2.h
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpi5wyw9e7/tmpzuxj8r43']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmpi5wyw9e7/tmp3ub0frh2.h
580s # basename: tmp3ub0frh2.h
580s # enumeration-production
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-header
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-production
580s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
580s # valuenick: user
580s # valuenum: 4
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-tail
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmp2he5lev4
580s # rspfile: True
580s # /tmp/tmp2he5lev4/tmpavqpwxkk.h:
580s # typedef enum {
580s # 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)
580s # } GDBusServerFlags;
580s #
580s # /tmp/tmp2he5lev4/tmpqe4kktk_.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Response file contains: --template /tmp/tmp2he5lev4/tmpqe4kktk_.template /tmp/tmp2he5lev4/tmpavqpwxkk.h
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp2he5lev4/tmp8wuyl3x6']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-production
580s # filename: /tmp/tmp2he5lev4/tmpavqpwxkk.h
580s # basename: tmpavqpwxkk.h
580s # enumeration-production
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-header
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-production
580s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
580s # valuenick: user
580s # valuenum: 4
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # value-tail
580s # EnumName: GDBusServerFlags
580s # enum_name: g_dbus_server_flags
580s # ENUMNAME: G_DBUS_SERVER_FLAGS
580s # ENUMSHORT: DBUS_SERVER_FLAGS
580s # ENUMPREFIX: G
580s # enumsince:
580s # type: flags
580s # Type: Flags
580s # TYPE: FLAGS
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 23 __main__.TestRspMkenums.test_empty_header
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmpuyk5cjz6
580s # rspfile: True
580s # /tmp/tmpuyk5cjz6/tmp0idn6kfy.h:
580s # /tmp/tmpuyk5cjz6/tmpp94_7qrp.template:
580s # /*** BEGIN file-header ***/
580s # file-header
580s # /*** END file-header ***/
580s #
580s # /*** BEGIN file-production ***/
580s # file-production
580s # filename: @filename@
580s # basename: @basename@
580s # /*** END file-production ***/
580s #
580s # /*** BEGIN enumeration-production ***/
580s # enumeration-production
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END enumeration-production ***/
580s #
580s # /*** BEGIN value-header ***/
580s # value-header
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-header ***/
580s #
580s # /*** BEGIN value-production ***/
580s # value-production
580s # VALUENAME: @VALUENAME@
580s # valuenick: @valuenick@
580s # valuenum: @valuenum@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-production ***/
580s #
580s # /*** BEGIN value-tail ***/
580s # value-tail
580s # EnumName: @EnumName@
580s # enum_name: @enum_name@
580s # ENUMNAME: @ENUMNAME@
580s # ENUMSHORT: @ENUMSHORT@
580s # ENUMPREFIX: @ENUMPREFIX@
580s # enumsince: @enumsince@
580s # type: @type@
580s # Type: @Type@
580s # TYPE: @TYPE@
580s # /*** END value-tail ***/
580s #
580s # /*** BEGIN comment ***/
580s # comment
580s # comment: @comment@
580s # /*** END comment ***/
580s #
580s # /*** BEGIN file-tail ***/
580s # file-tail
580s # /*** END file-tail ***/
580s #
580s # Response file contains: --template /tmp/tmpuyk5cjz6/tmpp94_7qrp.template /tmp/tmpuyk5cjz6/tmp0idn6kfy.h
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpuyk5cjz6/tmpag95k_bs']
580s # Return code: 0
580s # Output:
580s # comment
580s # 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.
580s #
580s #
580s # file-header
580s # file-tail
580s #
580s # comment
580s # comment: Generated data ends here
580s # Error:
580s ok 24 __main__.TestRspMkenums.test_empty_template
580s # glib-mkenums: /usr/bin/glib-mkenums
580s # tmpdir: /tmp/tmps4d7a5sn
580s # rspfile: True
580s # /tmp/tmps4d7a5sn/tmppjsk05f5.template:
580s # Response file contains: --template /tmp/tmps4d7a5sn/tmppjsk05f5.template
580s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps4d7a5sn/tmpcgt8i653']
580s # Return code: 0
580s # Output:
580s # /* 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. */
580s #
580s #
580s # /* Generated data ends here */
580s # Error:
581s ok 25 __main__.TestRspMkenums.test_enum_name
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpu3rsr8hr
581s # rspfile: True
581s # /tmp/tmpu3rsr8hr/tmp8ys5878p.h:
581s # typedef enum _SomeEnumIdentifier {
581s # ENUM_VALUE
581s # } SomeEnumIdentifier;
581s #
581s # /tmp/tmpu3rsr8hr/tmps7ovvkla.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmpu3rsr8hr/tmps7ovvkla.template /tmp/tmpu3rsr8hr/tmp8ys5878p.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpu3rsr8hr/tmpfc1dbwb0']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmpu3rsr8hr/tmp8ys5878p.h
581s # basename: tmp8ys5878p.h
581s # enumeration-production
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: ENUM_VALUE
581s # valuenick: value
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 26 __main__.TestRspMkenums.test_enum_private_public
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmp0bt76wq4
581s # rspfile: True
581s # /tmp/tmp0bt76wq4/tmpv_cj2hsu.h:
581s # typedef enum {
581s # ENUM_VALUE_PUBLIC1,
581s # /*< private >*/
581s # ENUM_VALUE_PRIVATE,
581s # } SomeEnumA
581s #
581s # /tmp/tmp0bt76wq4/tmphk5v7b8_.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmp0bt76wq4/tmphk5v7b8_.template /tmp/tmp0bt76wq4/tmpv_cj2hsu.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0bt76wq4/tmp5vp2eres']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmp0bt76wq4/tmpv_cj2hsu.h
581s # basename: tmpv_cj2hsu.h
581s # enumeration-production
581s # EnumName: SomeEnumA
581s # enum_name: some_enum_a
581s # ENUMNAME: SOME_ENUM_A
581s # ENUMSHORT: ENUM_A
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: SomeEnumA
581s # enum_name: some_enum_a
581s # ENUMNAME: SOME_ENUM_A
581s # ENUMSHORT: ENUM_A
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: ENUM_VALUE_PUBLIC1
581s # valuenick: public1
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: SomeEnumA
581s # enum_name: some_enum_a
581s # ENUMNAME: SOME_ENUM_A
581s # ENUMSHORT: ENUM_A
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s #
581s # /tmp/tmp0bt76wq4/tmpffw862ra.h:
581s # typedef enum {
581s # /*< private >*/
581s # ENUM_VALUE_PRIVATE,
581s # /*< public >*/
581s # ENUM_VALUE_PUBLIC2,
581s # } SomeEnumB;
581s #
581s # /tmp/tmp0bt76wq4/tmpsr5n78t6.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmp0bt76wq4/tmpsr5n78t6.template /tmp/tmp0bt76wq4/tmpffw862ra.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp0bt76wq4/tmpxtp2903v']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmp0bt76wq4/tmpffw862ra.h
581s # basename: tmpffw862ra.h
581s # enumeration-production
581s # EnumName: SomeEnumB
581s # enum_name: some_enum_b
581s # ENUMNAME: SOME_ENUM_B
581s # ENUMSHORT: ENUM_B
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: SomeEnumB
581s # enum_name: some_enum_b
581s # ENUMNAME: SOME_ENUM_B
581s # ENUMSHORT: ENUM_B
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: ENUM_VALUE_PUBLIC2
581s # valuenick: public2
581s # valuenum: 1
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: SomeEnumB
581s # enum_name: some_enum_b
581s # ENUMNAME: SOME_ENUM_B
581s # ENUMSHORT: ENUM_B
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpt_2pa78o
581s # rspfile: True
581s # /tmp/tmpt_2pa78o/tmpcnadvg9p.h:
581s # typedef enum {
581s # /*< private >*/
581s # ENUM_VALUE_PRIVATE = 5,
581s # /*< public >*/
581s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
581s # } TestSymbolicEnum;
581s #
581s # /tmp/tmpt_2pa78o/tmpkcpktyq3.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmpt_2pa78o/tmpkcpktyq3.template /tmp/tmpt_2pa78o/tmpcnadvg9p.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpt_2pa78o/tmpsidx17yu']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmpt_2pa78o/tmpcnadvg9p.h
581s # basename: tmpcnadvg9p.h
581s # enumeration-production
581s # EnumName: TestSymbolicEnum
581s # enum_name: test_symbolic_enum
581s # ENUMNAME: TEST_SYMBOLIC_ENUM
581s # ENUMSHORT: SYMBOLIC_ENUM
581s # ENUMPREFIX: TEST
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: TestSymbolicEnum
581s # enum_name: test_symbolic_enum
581s # ENUMNAME: TEST_SYMBOLIC_ENUM
581s # ENUMSHORT: SYMBOLIC_ENUM
581s # ENUMPREFIX: TEST
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: ENUM_VALUE_PUBLIC
581s # valuenick: public
581s # valuenum: 7
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: TestSymbolicEnum
581s # enum_name: test_symbolic_enum
581s # ENUMNAME: TEST_SYMBOLIC_ENUM
581s # ENUMSHORT: SYMBOLIC_ENUM
581s # ENUMPREFIX: TEST
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpzkhwsyks
581s # rspfile: True
581s # /tmp/tmpzkhwsyks/tmptwibmysz.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-tail ***/
581s # Response file contains: --template /tmp/tmpzkhwsyks/tmptwibmysz.template
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpzkhwsyks/tmpeccp6pth']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # filename: @filename@
581s # basename: @basename@
581s # file-tail
581s # filename: @filename@
581s # basename: @basename@
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s # WARNING: @filename@ used in file-header section.
581s # WARNING: @basename@ used in file-header section.
581s # WARNING: @filename@ used in file-tail section.
581s # WARNING: @basename@ used in file-tail section.
581s ok 29 __main__.TestRspMkenums.test_help
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmp4kdsfw6i
581s # rspfile: True
581s # Response file contains: --help
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4kdsfw6i/tmp09hda13f']
581s # Return code: 0
581s # Output:
581s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
581s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
581s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
581s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
581s # [--comments COMMENT_TMPL] [--template TEMPLATE]
581s # [--output OUTPUT] [--version]
581s # [args ...]
581s #
581s # positional arguments:
581s # args One or more input files, or a single argument
581s # @rspfile_path pointing to a file that contains the
581s # actual arguments
581s #
581s # options:
581s # -h, --help show this help message and exit
581s # --identifier-prefix IDPREFIX
581s # Identifier prefix
581s # --symbol-prefix SYMPREFIX
581s # Symbol prefix
581s # --fhead FHEAD Output file header
581s # --ftail FTAIL Output file footer
581s # --fprod FPROD Put out TEXT every time a new input file is being
581s # processed.
581s # --eprod EPROD Per enum text, produced prior to value iterations
581s # --vhead VHEAD Value header, produced before iterating over enum
581s # values
581s # --vprod VPROD Value text, produced for each enum value.
581s # --vtail VTAIL Value tail, produced after iterating over enum values
581s # --comments COMMENT_TMPL
581s # Comment structure
581s # --template TEMPLATE Template file
581s # --output OUTPUT
581s # --version, -v Print version information
581s #
581s # Production text substitutions:
581s # @EnumName@ PrefixTheXEnum
581s # @enum_name@ prefix_the_xenum
581s # @ENUMNAME@ PREFIX_THE_XENUM
581s # @ENUMSHORT@ THE_XENUM
581s # @ENUMPREFIX@ PREFIX
581s # @enumsince@ the user-provided since value given
581s # @VALUENAME@ PREFIX_THE_XVALUE
581s # @valuenick@ the-xvalue
581s # @valuenum@ the integer value (limited support, Since: 2.26)
581s # @type@ either enum or flags
581s # @Type@ either Enum or Flags
581s # @TYPE@ either ENUM or FLAGS
581s # @filename@ name of current input file
581s # @basename@ base name of the current input file (Since: 2.22)
581s # Error:
581s ok 30 __main__.TestRspMkenums.test_no_args
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpwkfs3940
581s # rspfile: True
581s # Response file contains:
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwkfs3940/tmp9iw44065']
581s # Return code: 0
581s # Output:
581s # /* 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. */
581s #
581s #
581s # /* Generated data ends here */
581s # Error:
581s ok 31 __main__.TestRspMkenums.test_no_headers
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmp3os8qdil
581s # rspfile: True
581s # /tmp/tmp3os8qdil/tmpn0zrm00g.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmp3os8qdil/tmpn0zrm00g.template
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp3os8qdil/tmphy13klll']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 32 __main__.TestRspMkenums.test_no_nick
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpn4ca3xgu
581s # rspfile: True
581s # /tmp/tmpn4ca3xgu/tmpjwvf473n.h:
581s # typedef enum {
581s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
581s # } GeglSamplerType;
581s #
581s # /tmp/tmpn4ca3xgu/tmpzv_hgvf7.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmpn4ca3xgu/tmpzv_hgvf7.template /tmp/tmpn4ca3xgu/tmpjwvf473n.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpn4ca3xgu/tmp_e4pwczc']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmpn4ca3xgu/tmpjwvf473n.h
581s # basename: tmpjwvf473n.h
581s # enumeration-production
581s # EnumName: GeglSamplerType
581s # enum_name: gegl_sampler_type
581s # ENUMNAME: GEGL_SAMPLER_TYPE
581s # ENUMSHORT: SAMPLER_TYPE
581s # ENUMPREFIX: GEGL
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: GeglSamplerType
581s # enum_name: gegl_sampler_type
581s # ENUMNAME: GEGL_SAMPLER_TYPE
581s # ENUMSHORT: SAMPLER_TYPE
581s # ENUMPREFIX: GEGL
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: GEGL_SAMPLER_NEAREST
581s # valuenick: nearest
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: GeglSamplerType
581s # enum_name: gegl_sampler_type
581s # ENUMNAME: GEGL_SAMPLER_TYPE
581s # ENUMSHORT: SAMPLER_TYPE
581s # ENUMPREFIX: GEGL
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpw5k7_29l
581s # rspfile: True
581s # /tmp/tmpw5k7_29l/tmp71y89o6b.h:
581s # /* Copyright © La Peña */
581s # typedef enum {
581s # ENUM_VALUE
581s # } SomeEnumIdentifier;
581s #
581s # /tmp/tmpw5k7_29l/tmpz16tau9e.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmpw5k7_29l/tmpz16tau9e.template /tmp/tmpw5k7_29l/tmp71y89o6b.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpw5k7_29l/tmpuo90q6a8']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmpw5k7_29l/tmp71y89o6b.h
581s # basename: tmp71y89o6b.h
581s # enumeration-production
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: ENUM_VALUE
581s # valuenick: value
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: SomeEnumIdentifier
581s # enum_name: some_enum_identifier
581s # ENUMNAME: SOME_ENUM_IDENTIFIER
581s # ENUMSHORT: ENUM_IDENTIFIER
581s # ENUMPREFIX: SOME
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
581s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
581s ok 34 __main__.TestRspMkenums.test_reproducible
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmplx9rzfy0
581s # rspfile: True
581s # /tmp/tmplx9rzfy0/tmpp46urc6r.template: template
581s # Response file contains: --template /tmp/tmplx9rzfy0/tmpp46urc6r.template /tmp/tmplx9rzfy0/tmptvfn01u_1.h /tmp/tmplx9rzfy0/tmpkr3nvz1m2.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplx9rzfy0/tmphesfcd6j']
581s # Return code: 0
581s # Output:
581s # /* 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. */
581s #
581s #
581s # /* Generated data ends here */
581s # Error:
581s #
581s # /tmp/tmplx9rzfy0/tmp4o30p2c2.template: template
581s # Response file contains: --template /tmp/tmplx9rzfy0/tmp4o30p2c2.template /tmp/tmplx9rzfy0/tmpkr3nvz1m2.h /tmp/tmplx9rzfy0/tmptvfn01u_1.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmplx9rzfy0/tmp08ghq5o5']
581s # Return code: 0
581s # Output:
581s # /* 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. */
581s #
581s #
581s # /* Generated data ends here */
581s # Error:
581s ok 35 __main__.TestRspMkenums.test_since
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmpsdxbsezm
581s # rspfile: True
581s # /tmp/tmpsdxbsezm/tmphzmcm8we.h:
581s # typedef enum { /*< since=1.0 >*/
581s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
581s # } QmiWmsMessageProtocol;
581s #
581s # /tmp/tmpsdxbsezm/tmpsl9ljl50.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmpsdxbsezm/tmpsl9ljl50.template /tmp/tmpsdxbsezm/tmphzmcm8we.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsdxbsezm/tmp5bc4dfr4']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmpsdxbsezm/tmphzmcm8we.h
581s # basename: tmphzmcm8we.h
581s # enumeration-production
581s # EnumName: QmiWmsMessageProtocol
581s # enum_name: qmi_wms_message_protocol
581s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
581s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
581s # ENUMPREFIX: QMI
581s # enumsince: 1.0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: QmiWmsMessageProtocol
581s # enum_name: qmi_wms_message_protocol
581s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
581s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
581s # ENUMPREFIX: QMI
581s # enumsince: 1.0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
581s # valuenick: cdma
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: QmiWmsMessageProtocol
581s # enum_name: qmi_wms_message_protocol
581s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
581s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
581s # ENUMPREFIX: QMI
581s # enumsince: 1.0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s ok 36 __main__.TestRspMkenums.test_with_double_quotes
581s # glib-mkenums: /usr/bin/glib-mkenums
581s # tmpdir: /tmp/tmp7l6panb7
581s # rspfile: True
581s # /tmp/tmp7l6panb7/tmpk02oix5x.h:
581s # typedef enum {
581s # FOO_VALUE /*< nick="eek, a comma" >*/
581s # } Foo;
581s #
581s # /tmp/tmp7l6panb7/tmp7pbt5dqr.template:
581s # /*** BEGIN file-header ***/
581s # file-header
581s # /*** END file-header ***/
581s #
581s # /*** BEGIN file-production ***/
581s # file-production
581s # filename: @filename@
581s # basename: @basename@
581s # /*** END file-production ***/
581s #
581s # /*** BEGIN enumeration-production ***/
581s # enumeration-production
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END enumeration-production ***/
581s #
581s # /*** BEGIN value-header ***/
581s # value-header
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-header ***/
581s #
581s # /*** BEGIN value-production ***/
581s # value-production
581s # VALUENAME: @VALUENAME@
581s # valuenick: @valuenick@
581s # valuenum: @valuenum@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-production ***/
581s #
581s # /*** BEGIN value-tail ***/
581s # value-tail
581s # EnumName: @EnumName@
581s # enum_name: @enum_name@
581s # ENUMNAME: @ENUMNAME@
581s # ENUMSHORT: @ENUMSHORT@
581s # ENUMPREFIX: @ENUMPREFIX@
581s # enumsince: @enumsince@
581s # type: @type@
581s # Type: @Type@
581s # TYPE: @TYPE@
581s # /*** END value-tail ***/
581s #
581s # /*** BEGIN comment ***/
581s # comment
581s # comment: @comment@
581s # /*** END comment ***/
581s #
581s # /*** BEGIN file-tail ***/
581s # file-tail
581s # /*** END file-tail ***/
581s #
581s # Response file contains: --template /tmp/tmp7l6panb7/tmp7pbt5dqr.template /tmp/tmp7l6panb7/tmpk02oix5x.h
581s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7l6panb7/tmp7lml7eul']
581s # Return code: 0
581s # Output:
581s # comment
581s # 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.
581s #
581s #
581s # file-header
581s # file-production
581s # filename: /tmp/tmp7l6panb7/tmpk02oix5x.h
581s # basename: tmpk02oix5x.h
581s # enumeration-production
581s # EnumName: Foo
581s # enum_name: foo_
581s # ENUMNAME: FOO_
581s # ENUMSHORT:
581s # ENUMPREFIX: FOO
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-header
581s # EnumName: Foo
581s # enum_name: foo_
581s # ENUMNAME: FOO_
581s # ENUMSHORT:
581s # ENUMPREFIX: FOO
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-production
581s # VALUENAME: FOO_VALUE
581s # valuenick: eek, a comma
581s # valuenum: 0
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # value-tail
581s # EnumName: Foo
581s # enum_name: foo_
581s # ENUMNAME: FOO_
581s # ENUMSHORT:
581s # ENUMPREFIX: FOO
581s # enumsince:
581s # type: enum
581s # Type: Enum
581s # TYPE: ENUM
581s # file-tail
581s #
581s # comment
581s # comment: Generated data ends here
581s # Error:
581s 1..36
581s ok - glib/mkenums.py.test
581s # Running test: glib/gdbus-export.test
581s TAP version 14
581s # random seed: R02S6f6b568f668247b1013fc8546f8310bc
581s 1..7
581s # Start of gdbus tests
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration/.dirs/runtime
581s ok 1 /gdbus/object-registration
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures/.dirs/runtime
581s ok 2 /gdbus/object-registration-with-closures
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/object-registration-with-closures2/.dirs/runtime
581s ok 3 /gdbus/object-registration-with-closures2
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/registered-interfaces/.dirs/runtime
581s ok 4 /gdbus/registered-interfaces
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/async-properties/.dirs/runtime
581s ok 5 /gdbus/async-properties
581s # Start of threaded-unregistration tests
581s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/home
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/cache
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/system-config2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/config
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/system-data2
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/data
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/state
581s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/object/.dirs/runtime
581s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
581s # /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
582s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test
582s # slow test /gdbus/threaded-unregistration/object executed in 1.01 secs
582s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/home
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/cache
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/system-config2
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/config
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/system-data2
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/data
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/state
582s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_DQSDK3/gdbus/threaded-unregistration/subtree/.dirs/runtime
582s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
582s # /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
583s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (0 iterations with unregistration first, 1000 with call first); skipping test
583s # slow test /gdbus/threaded-unregistration/subtree executed in 1.00 secs
583s # End of threaded-unregistration tests
583s # End of gdbus tests
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s ok - glib/gdbus-export.test
583s # Running test: glib/gnotification.test
583s TAP version 14
583s # random seed: R02S6092745693e614a3f327b006bf1ee20d
583s 1..2
583s # Start of gnotification tests
583s ok 1 /gnotification/basic
583s ok 2 /gnotification/properties
583s # End of gnotification tests
583s ok - glib/gnotification.test
583s # Running test: glib/defaultvalue.test
583s ok - glib/defaultvalue.test
583s # Running test: glib/memory-output-stream.test
583s TAP version 14
583s # random seed: R02S2dffe026e24ae9f5eab95e970c7e5c9b
583s 1..84
583s # Start of Default Values tests
583s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
583s ok 2 /Default Values/GAppLaunchContext
583s ok 3 /Default Values/GApplicationCommandLine
583s # skipping GApplication:is-remote
583s ok 4 /Default Values/GApplication
583s ok 5 /Default Values/GBinding # SKIP mandatory construct params
583s ok 6 /Default Values/GBindingGroup
583s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
583s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
583s ok 9 /Default Values/GBytesIcon
583s ok 10 /Default Values/GCancellable
583s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
583s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
583s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
583s ok 14 /Default Values/GCredentials
583s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
583s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
583s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
583s ok 18 /Default Values/GDBusAuthObserver
583s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
583s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
583s ok 21 /Default Values/GDBusMessage
583s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
583s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
583s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
583s ok 25 /Default Values/GDBusObjectProxy
583s ok 26 /Default Values/GDBusObjectSkeleton
583s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
583s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
583s ok 29 /Default Values/GEmblem
583s ok 30 /Default Values/GEmblemedIcon
583s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
583s ok 32 /Default Values/GFileInfo
583s ok 33 /Default Values/GFileInputStream
583s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
583s ok 35 /Default Values/GFileOutputStream
583s ok 36 /Default Values/GFilenameCompleter
583s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
583s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
583s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
583s ok 40 /Default Values/GInitiallyUnowned
583s ok 41 /Default Values/GIOModule
583s ok 42 /Default Values/GListStore
583s ok 43 /Default Values/GMemoryInputStream
583s ok 44 /Default Values/GMemoryOutputStream
583s ok 45 /Default Values/GMenu
583s ok 46 /Default Values/GMenuItem
583s ok 47 /Default Values/GMountOperation
583s ok 48 /Default Values/GNativeSocketAddress
583s ok 49 /Default Values/GNetworkAddress
583s ok 50 /Default Values/GNetworkService
583s ok 51 /Default Values/GNotification
583s ok 52 /Default Values/GObject
583s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
583s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
583s # skipping GProxyAddressEnumerator:proxy-resolver
583s ok 54 /Default Values/GProxyAddressEnumerator
583s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
583s ok 56 /Default Values/GSettings # SKIP mandatory construct params
583s ok 57 /Default Values/GSignalGroup
583s ok 58 /Default Values/GSimpleAction
583s ok 59 /Default Values/GSimpleActionGroup
583s ok 60 /Default Values/GSimpleAsyncResult
583s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
583s ok 62 /Default Values/GSimplePermission
583s ok 63 /Default Values/GSimpleProxyResolver
583s # skipping GSocketClient:proxy-resolver
583s ok 64 /Default Values/GSocketClient
583s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
583s ok 66 /Default Values/GSocket # SKIP initialization failed
583s ok 67 /Default Values/GSocketListener
583s ok 68 /Default Values/GSocketService
583s ok 69 /Default Values/GSubprocess # SKIP initialization failed
583s ok 70 /Default Values/GSubprocessLauncher
583s # GLib-GIO-DEBUG: GTask 0xc7fa19452250 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
583s ok 71 /Default Values/GTask
583s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
583s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
583s ok 74 /Default Values/GTestDBus
583s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
583s ok 76 /Default Values/GThreadedSocketService
583s ok 77 /Default Values/GTlsInteraction
583s ok 78 /Default Values/GTlsPassword
583s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
583s ok 80 /Default Values/GUnixFDList
583s ok 81 /Default Values/GVfs
583s ok 82 /Default Values/GVolumeMonitor
583s ok 83 /Default Values/GZlibCompressor
583s ok 84 /Default Values/GZlibDecompressor
583s # End of Default Values tests
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s TAP version 14
583s # random seed: R02S81467c074078d55a4eed632fcdd60880
583s 1..10
583s # Start of memory-output-stream tests
583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
583s ok - glib/memory-output-stream.test
583s # Running test: glib/giomodule.test
583s ok 1 /memory-output-stream/truncate
583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
583s ok 2 /memory-output-stream/get-data-size
583s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
583s ok 3 /memory-output-stream/properties
583s ok 4 /memory-output-stream/write-bytes
583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
583s ok 5 /memory-output-stream/write-null
583s ok 6 /memory-output-stream/writev
583s ok 7 /memory-output-stream/writev_nonblocking
583s ok 8 /memory-output-stream/steal_as_bytes
583s # Start of seek tests
583s ok 9 /memory-output-stream/seek/fixed
583s ok 10 /memory-output-stream/seek/resizable
583s # End of seek tests
583s # End of memory-output-stream tests
583s TAP version 14
583s # random seed: R02Sa752cc2f1f4a22783e8eb98be6d49da0
583s 1..3
583s # Start of giomodule tests
583s ok 1 /giomodule/extension-point
583s ok 2 /giomodule/module-scan-all
583s ok 3 /giomodule/module-scan-all-with-scope
583s # End of giomodule tests
583s ok - glib/giomodule.test
583s # Running test: glib/filenamecompleter.test
583s TAP version 14
583s # random seed: R02S99e0a7839eeca9bfdd0049c581326f33
583s 1..1
583s # Start of filenamecompleter tests
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/cache
583s ok - glib/filenamecompleter.test
583s # Running test: glib/markup.test
583s ok - glib/markup.test
583s # Running test: glib/gdbus-test-codegen-old.test
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/system-config1:/tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/system-data1:/tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_filenamecompleter_S5Y9J3/filenamecompleter/basic/.dirs/runtime
583s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
583s ok 1 /filenamecompleter/basic
583s # End of filenamecompleter tests
583s TAP version 14
583s # random seed: R02S5a2ce961003aba130cabb598aee93b95
583s 1..1
583s # Start of markup tests
583s ok 1 /markup/stack
583s # End of markup tests
583s TAP version 14
583s # random seed: R02S18eb891ac726b49ac87343089f7d1a19
583s 1..8
583s # Start of gdbus tests
583s # Start of codegen tests
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/annotations/.dirs/runtime
583s ok 1 /gdbus/codegen/annotations
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/interface_stability/.dirs/runtime
583s ok 2 /gdbus/codegen/interface_stability
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/object-manager/.dirs/runtime
583s ok 3 /gdbus/codegen/object-manager
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/property-naming/.dirs/runtime
583s ok 4 /gdbus/codegen/property-naming
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/autocleanups/.dirs/runtime
583s ok 5 /gdbus/codegen/autocleanups
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/deprecations/.dirs/runtime
583s ok 6 /gdbus/codegen/deprecations
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/standalone-interface-info/.dirs/runtime
583s ok 7 /gdbus/codegen/standalone-interface-info
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_W13AK3/gdbus/codegen/unix-fd-list/.dirs/runtime
583s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
583s ok 8 /gdbus/codegen/unix-fd-list
583s # End of codegen tests
583s # End of gdbus tests
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s ok - glib/gdbus-test-codegen-old.test
583s # Running test: glib/refcount.test
583s TAP version 14
583s # random seed: R02Sabee7b4c8d97ef0f48b03096b14fc258
583s 1..4
583s # Start of refcount tests
583s ok 1 /refcount/grefcount
583s ok 2 /refcount/gatomicrefcount
583s # Start of grefcount tests
583s ok 3 /refcount/grefcount/saturation
583s # End of grefcount tests
583s # Start of gatomicrefcount tests
583s ok 4 /refcount/gatomicrefcount/saturation
583s # End of gatomicrefcount tests
583s # End of refcount tests
583s ok - glib/refcount.test
583s # Running test: glib/portal-support-flatpak-gsettings-only.test
583s TAP version 14
583s # random seed: R02Se13314720917f4abb76ead6656db38d4
583s 1..1
583s # Start of portal-support tests
583s # Start of flatpak tests
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/runtime
583s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_MRJBK3/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
583s ok 1 /portal-support/flatpak/gsettings
583s # End of flatpak tests
583s # End of portal-support tests
583s ok - glib/portal-support-flatpak-gsettings-only.test
583s # Running test: glib/memory-input-stream.test
583s TAP version 14
583s # random seed: R02Saffa41801f794f67654a6be544bc2bde
583s 1..6
583s # Start of memory-input-stream tests
583s ok 1 /memory-input-stream/read-chunks
583s ok 2 /memory-input-stream/async
583s ok 3 /memory-input-stream/seek
583s ok 4 /memory-input-stream/truncate
583s ok 5 /memory-input-stream/read-bytes
583s ok 6 /memory-input-stream/from-bytes
583s # End of memory-input-stream tests
583s ok - glib/memory-input-stream.test
583s # Running test: glib/gdbus-auth.test
583s TAP version 14
583s # random seed: R02S25252b79b1291b8583f3a220be40bc23
583s 1..5
583s # Start of gdbus tests
583s # Start of auth tests
583s # Start of client tests
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/EXTERNAL/.dirs/runtime
583s ok 1 /gdbus/auth/client/EXTERNAL
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
583s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
583s # End of client tests
583s # Start of server tests
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/ANONYMOUS/.dirs/runtime
583s ok 3 /gdbus/auth/server/ANONYMOUS
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/EXTERNAL/.dirs/runtime
583s ok 4 /gdbus/auth/server/EXTERNAL
583s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
583s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_YL9AK3/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
583s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
583s # End of server tests
583s # End of auth tests
583s # End of gdbus tests
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
583s ok - glib/gdbus-auth.test
583s # Running test: glib/srvtarget.test
583s TAP version 14
583s # random seed: R02S222d519f23fb7ade3056e8a012bf92ac
583s 1..1
583s # Start of srvtarget tests
584s ok - glib/srvtarget.test
584s ok 1 /srvtarget/srv-target-ordering
584s # End of srvtarget tests
584s # Running test: glib/gi-inspect-typelib.py.test
584s TAP version 13
584s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpz7w8gkjv
584s # Running: ['/usr/bin/gi-inspect-typelib', '--help']
584s # Return code: 0
584s # Output:
584s # Usage:
584s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib
584s #
584s # Help Options:
584s # -h, --help Show help options
584s #
584s # Application Options:
584s # --typelib-version=VERSION Typelib version to inspect
584s # --print-shlibs List the shared libraries the typelib requires
584s # --print-typelibs List other typelibs the inspected typelib requires
584s # Error:
584s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmp3qmx8o9f
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace']
584s # Return code: 1
584s # Output:
584s #
584s # Error:
584s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found
584s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmp64sylo6k
584s # Running: ['/usr/bin/gi-inspect-typelib']
584s # Return code: 1
584s # Output:
584s #
584s # Error:
584s # Please specify exactly one namespace
584s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpvgd8ml4n
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgobject-2.0.so.0
584s # shlib: libglib-2.0.so.0
584s # Error:
584s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmp678mzt_z
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s #
584s # Error:
584s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmp1lng42co
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgobject-2.0.so.0
584s # shlib: libglib-2.0.so.0
584s # Error:
584s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpaklqtjvv
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgobject-2.0.so.0
584s # Error:
584s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmp__fnwd86
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # typelib: GLib-2.0
584s # Error:
584s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpsuiasmyz
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgobject-2.0.so.0
584s # typelib: GLib-2.0
584s # Error:
584s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpr29wvuao
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgio-2.0.so.0
584s # Error:
584s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpb_i8qtvr
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # typelib: GObject-2.0
584s # typelib: GLib-2.0
584s # typelib: GModule-2.0
584s # Error:
584s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs
584s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
584s # tmpdir: /tmp/tmpmva4kt8p
584s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0']
584s # Return code: 0
584s # Output:
584s # shlib: libgio-2.0.so.0
584s # typelib: GObject-2.0
584s # typelib: GLib-2.0
584s # typelib: GModule-2.0
584s # Error:
584s 1..12
584s ok - glib/gi-inspect-typelib.py.test
584s # Running test: glib/gdbus-server-auth.test
584s TAP version 14
584s # random seed: R02Sa9303268db75bd4e12042c56494d5564
584s 1..9
584s # Start of gdbus tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/.dirs/runtime
584s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-M2B8J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
584s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-M2B8J3/dbus-BkFe9c9w
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4684
584s ok 1 /gdbus/server-auth
584s # Start of server-auth tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/abstract/.dirs/runtime
584s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-QBY7J3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
584s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-QBY7J3/dbus-LoYkNAff
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
584s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
584s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4684
584s ok 2 /gdbus/server-auth/abstract
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/tcp/.dirs/runtime
584s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
584s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/.dirs/runtime
584s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-N8O7J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
584s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-N8O7J3/dbus-C8EKJSkd
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4684
584s ok 4 /gdbus/server-auth/anonymous
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/.dirs/runtime
584s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-BBP8J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
584s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-BBP8J3/dbus-Sl2w0Scg
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4684
584s ok 5 /gdbus/server-auth/external
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/.dirs/runtime
584s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-H4F8J3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
584s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
584s # Start of anonymous tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/anonymous/tcp/.dirs/runtime
584s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
584s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
584s # End of anonymous tests
584s # Start of external tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/external/require-same-user/.dirs/runtime
584s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-43E8J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
584s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_6UB8J3/gdbus-server-auth-43E8J3/dbus-hfiOrBNM
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s ok - glib/gdbus-server-auth.test
584s # Running test: glib/cxx-98.test
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 4684
584s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
584s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
584s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
584s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=4684,uid=1000,gid=1000
584s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 4684
584s ok 8 /gdbus/server-auth/external/require-same-user
584s # End of external tests
584s # Start of sha1 tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_6UB8J3/gdbus/server-auth/sha1/tcp/.dirs/runtime
584s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
584s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
584s # End of sha1 tests
584s # End of server-auth tests
584s # End of gdbus tests
584s ok - glib/cxx-98.test
584s TAP version 14
584s # random seed: R02Sdb1c8b7b3ddcbaa359910daa7536b932
584s 1..2
584s # Start of gtask tests
584s # 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.
584s ok 1 /gtask/name
584s # Start of name tests
584s # 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.
584s ok 2 /gtask/name/macro-wrapper
584s # End of name tests
584s # End of gtask tests
584s # Running test: glib/mount-operation.test
584s ok - glib/mount-operation.test
584s TAP version 14
584s # random seed: R02S3d94a3af713ba780749b804677082f88
584s 1..2
584s # Start of mount-operation tests
584s ok 1 /mount-operation/construction
584s ok 2 /mount-operation/properties
584s # End of mount-operation tests
584s # Running test: glib/gdbus-proxy.test
584s TAP version 14
584s # random seed: R02S616a8e6b9e4e9d321211aa070e183eb6
584s 1..5
584s # Start of gdbus tests
584s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/home
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/cache
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/system-config2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/config
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/system-data2
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/data
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/state
584s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/.dirs/runtime
584s # Executing: glib/gdbus-proxy.test
586s ok 1 /gdbus/proxy
586s # slow test /gdbus/proxy executed in 1.72 secs
586s # Start of proxy tests
586s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/home
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/cache
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/system-config2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/config
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/system-data2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/data
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/state
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-properties/.dirs/runtime
586s ok 2 /gdbus/proxy/no-properties
586s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/home
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/cache
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/system-config2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/config
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/system-data2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/data
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/state
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/wellknown-noauto/.dirs/runtime
586s ok 3 /gdbus/proxy/wellknown-noauto
586s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/home
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/cache
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/system-config2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/config
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/system-data2
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/data
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/state
586s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/async/.dirs/runtime
588s ok 4 /gdbus/proxy/async
588s # slow test /gdbus/proxy/async executed in 1.72 secs
588s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/home
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/cache
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/system-config2
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/config
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/system-data2
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/data
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/state
588s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_J7F3J3/gdbus/proxy/no-match-rule/.dirs/runtime
588s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
588s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
589s # Executing: glib/gdbus-proxy.test
589s ok 5 /gdbus/proxy/no-match-rule
589s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs
589s # End of proxy tests
589s # End of gdbus tests
589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
589s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
589s ok - glib/gdbus-proxy.test
589s # Running test: glib/accumulator.test
589s ok - glib/accumulator.test
589s TAP version 14
589s # random seed: R02S20abc2973dda507fbad2b9e1fd6aba85
589s 1..1
589s # Start of gobject tests
589s ok 1 /gobject/accumulator
589s # End of gobject tests
589s # Running test: glib/codegen.py.test
589s TAP version 13
589s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
589s # gdbus-codegen: /usr/bin/gdbus-codegen
589s # tmpdir: /tmp/tmp51rht9og
589s # /tmp/tmp51rht9og/tmp9dkhmrqy.xml:
589s #
589s #
589s #
589s #
589s #
589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp51rht9og/tmp9dkhmrqy.xml', '--output', '-', '--header']
589s # Return code: 0
589s # Output:
589s # /*
589s # * This file is generated by gdbus-codegen, do not modify it.
589s # *
589s # * The license of this code is the same as for the D-Bus interface description
589s # * it was derived from. Note that it links to GLib, so must comply with the
589s # * LGPL linking clauses.
589s # */
589s #
589s # #ifndef __STDOUT__
589s # #define __STDOUT__
589s #
589s # #include
589s #
589s # G_BEGIN_DECLS
589s #
589s #
589s # /* ------------------------------------------------------------------------ */
589s # /* Declarations for org.project.UsefulInterface */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
589s #
589s # struct _OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
589s #
589s # struct _OrgProjectUsefulInterfaceIface
589s # {
589s # GTypeInterface parent_iface;
589s #
589s # gboolean (*handle_useful_method) (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s # };
589s #
589s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
589s #
589s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
589s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
589s #
589s #
589s # /* D-Bus method call completion functions: */
589s # void org_project_useful_interface_complete_useful_method (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s #
589s #
589s # /* D-Bus method calls: */
589s # void org_project_useful_interface_call_useful_method (
589s # OrgProjectUsefulInterface *proxy,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_finish (
589s # OrgProjectUsefulInterface *proxy,
589s # GAsyncResult *res,
589s # GError **error);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_sync (
589s # OrgProjectUsefulInterface *proxy,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
589s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
589s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceProxy
589s # {
589s # /*< private >*/
589s # GDBusProxy parent_instance;
589s # OrgProjectUsefulInterfaceProxyPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceProxyClass
589s # {
589s # GDBusProxyClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
589s # #endif
589s #
589s # void org_project_useful_interface_proxy_new (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s # void org_project_useful_interface_proxy_new_for_bus (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceSkeleton
589s # {
589s # /*< private >*/
589s # GDBusInterfaceSkeleton parent_instance;
589s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceSkeletonClass
589s # {
589s # GDBusInterfaceSkeletonClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
589s # #endif
589s #
589s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
589s #
589s #
589s # G_END_DECLS
589s #
589s # #endif /* __STDOUT__ */
589s # Error:
589s #
589s # /tmp/tmp51rht9og/tmpboe7qpp7.xml:
589s #
589s #
589s #
589s #
589s #
589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp51rht9og/tmpboe7qpp7.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
589s # Return code: 0
589s # Output:
589s # /*
589s # * This file is generated by gdbus-codegen, do not modify it.
589s # *
589s # * The license of this code is the same as for the D-Bus interface description
589s # * it was derived from. Note that it links to GLib, so must comply with the
589s # * LGPL linking clauses.
589s # */
589s #
589s # #ifndef __STDOUT__
589s # #define __STDOUT__
589s #
589s # #include
589s #
589s # G_BEGIN_DECLS
589s #
589s #
589s # /* ------------------------------------------------------------------------ */
589s # /* Declarations for org.project.UsefulInterface */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
589s #
589s # struct _OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
589s #
589s # struct _OrgProjectUsefulInterfaceIface
589s # {
589s # GTypeInterface parent_iface;
589s #
589s # gboolean (*handle_useful_method) (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s # };
589s #
589s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
589s #
589s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
589s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
589s #
589s #
589s # /* D-Bus method call completion functions: */
589s # void org_project_useful_interface_complete_useful_method (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s #
589s #
589s # /* D-Bus method calls: */
589s # void org_project_useful_interface_call_useful_method (
589s # OrgProjectUsefulInterface *proxy,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_finish (
589s # OrgProjectUsefulInterface *proxy,
589s # GAsyncResult *res,
589s # GError **error);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_sync (
589s # OrgProjectUsefulInterface *proxy,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
589s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
589s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceProxy
589s # {
589s # /*< private >*/
589s # GDBusProxy parent_instance;
589s # OrgProjectUsefulInterfaceProxyPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceProxyClass
589s # {
589s # GDBusProxyClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
589s # #endif
589s #
589s # void org_project_useful_interface_proxy_new (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s # void org_project_useful_interface_proxy_new_for_bus (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceSkeleton
589s # {
589s # /*< private >*/
589s # GDBusInterfaceSkeleton parent_instance;
589s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceSkeletonClass
589s # {
589s # GDBusInterfaceSkeletonClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
589s # #endif
589s #
589s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
589s #
589s #
589s # G_END_DECLS
589s #
589s # #endif /* __STDOUT__ */
589s # Error:
589s #
589s # /tmp/tmp51rht9og/tmp0eu5y7ty.xml:
589s #
589s #
589s #
589s #
589s #
589s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp51rht9og/tmp0eu5y7ty.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
589s # Return code: 0
589s # Output:
589s # /*
589s # * This file is generated by gdbus-codegen, do not modify it.
589s # *
589s # * The license of this code is the same as for the D-Bus interface description
589s # * it was derived from. Note that it links to GLib, so must comply with the
589s # * LGPL linking clauses.
589s # */
589s #
589s # #ifndef __STDOUT__
589s # #define __STDOUT__
589s #
589s # #include
589s #
589s # G_BEGIN_DECLS
589s #
589s #
589s # /* ------------------------------------------------------------------------ */
589s # /* Declarations for org.project.UsefulInterface */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
589s #
589s # struct _OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
589s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
589s #
589s # struct _OrgProjectUsefulInterfaceIface
589s # {
589s # GTypeInterface parent_iface;
589s #
589s # gboolean (*handle_useful_method) (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s # };
589s #
589s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
589s #
589s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
589s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
589s #
589s #
589s # /* D-Bus method call completion functions: */
589s # void org_project_useful_interface_complete_useful_method (
589s # OrgProjectUsefulInterface *object,
589s # GDBusMethodInvocation *invocation);
589s #
589s #
589s #
589s # /* D-Bus method calls: */
589s # void org_project_useful_interface_call_useful_method (
589s # OrgProjectUsefulInterface *proxy,
589s # GDBusCallFlags call_flags,
589s # gint timeout_msec,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_finish (
589s # OrgProjectUsefulInterface *proxy,
589s # GAsyncResult *res,
589s # GError **error);
589s #
589s # gboolean org_project_useful_interface_call_useful_method_sync (
589s # OrgProjectUsefulInterface *proxy,
589s # GDBusCallFlags call_flags,
589s # gint timeout_msec,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
589s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
589s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceProxy
589s # {
589s # /*< private >*/
589s # GDBusProxy parent_instance;
589s # OrgProjectUsefulInterfaceProxyPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceProxyClass
589s # {
589s # GDBusProxyClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
589s # #endif
589s #
589s # void org_project_useful_interface_proxy_new (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
589s # GDBusConnection *connection,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s # void org_project_useful_interface_proxy_new_for_bus (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GAsyncReadyCallback callback,
589s # gpointer user_data);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
589s # GAsyncResult *res,
589s # GError **error);
589s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
589s # GBusType bus_type,
589s # GDBusProxyFlags flags,
589s # const gchar *name,
589s # const gchar *object_path,
589s # GCancellable *cancellable,
589s # GError **error);
589s #
589s #
589s # /* ---- */
589s #
589s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
589s #
589s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
589s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
589s #
589s # struct _OrgProjectUsefulInterfaceSkeleton
589s # {
589s # /*< private >*/
589s # GDBusInterfaceSkeleton parent_instance;
589s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
589s # };
589s #
589s # struct _OrgProjectUsefulInterfaceSkeletonClass
589s # {
589s # GDBusInterfaceSkeletonClass parent_class;
589s # };
589s #
589s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
589s #
589s # #if GLIB_CHECK_VERSION(2, 44, 0)
589s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
589s # #endif
589s #
589s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
589s #
589s #
589s # G_END_DECLS
589s #
589s # #endif /* __STDOUT__ */
589s # Error:
590s ok 2 __main__.TestCodegen.test_dbus_types
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmphfi0g4sh
590s # /tmp/tmphfi0g4sh/tmp1rkpatk7.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmp1rkpatk7.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1.
590s # /tmp/tmphfi0g4sh/tmp0qcjkyvt.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmp0qcjkyvt.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6.
590s # /tmp/tmphfi0g4sh/tmpb3a6yxli.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpb3a6yxli.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "{s". Error parsing string or brackets not closed.
590s # /tmp/tmphfi0g4sh/tmp9xbr7lv_.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmp9xbr7lv_.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5.
590s # /tmp/tmphfi0g4sh/tmpmj_zpwma.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpmj_zpwma.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "z". "z" is not a valid D-Bus type.
590s # /tmp/tmphfi0g4sh/tmpgnpojsl7.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpgnpojsl7.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type.
590s # /tmp/tmphfi0g4sh/tmpw2ue8kq8.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpw2ue8kq8.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "(". Error parsing string or brackets not closed.
590s # /tmp/tmphfi0g4sh/tmpny9555af.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpny9555af.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed.
590s # /tmp/tmphfi0g4sh/tmp0ucx7fxe.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmp0ucx7fxe.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129.
590s # /tmp/tmphfi0g4sh/tmpvqsqszx5.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpvqsqszx5.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: D-Bus maximum signature length of 255 exceeded.
590s # /tmp/tmphfi0g4sh/tmpzynb6hqw.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpzynb6hqw.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: D-Bus maximum signature length of 255 exceeded.
590s # /tmp/tmphfi0g4sh/tmprol2mgsr.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmprol2mgsr.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129.
590s # /tmp/tmphfi0g4sh/tmp9b_lska6.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmp9b_lska6.xml', '--output', '-', '--body']
590s # Return code: 1
590s # Output:
590s #
590s # Error:
590s # ERROR: D-Bus maximum signature length of 255 exceeded.
590s # /tmp/tmphfi0g4sh/tmpqxvnu5o_.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpqxvnu5o_.xml', '--output', '-', '--body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # #ifdef G_OS_UNIX
590s # # include
590s # #endif
590s #
590s # #ifdef G_ENABLE_DEBUG
590s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
590s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
590s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
590s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
590s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
590s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
590s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
590s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
590s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
590s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
590s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
590s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
590s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
590s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
590s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
590s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
590s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
590s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
590s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
590s # #else /* !G_ENABLE_DEBUG */
590s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
590s # * Do not access GValues directly in your code. Instead, use the
590s # * g_value_get_*() functions
590s # */
590s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
590s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
590s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
590s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
590s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
590s # #endif /* !G_ENABLE_DEBUG */
590s #
590s # typedef struct
590s # {
590s # GDBusArgInfo parent_struct;
590s # gboolean use_gvariant;
590s # } _ExtendedGDBusArgInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusMethodInfo parent_struct;
590s # const gchar *signal_name;
590s # gboolean pass_fdlist;
590s # } _ExtendedGDBusMethodInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusSignalInfo parent_struct;
590s # const gchar *signal_name;
590s # } _ExtendedGDBusSignalInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusPropertyInfo parent_struct;
590s # const gchar *hyphen_name;
590s # guint use_gvariant : 1;
590s # guint emits_changed_signal : 1;
590s # } _ExtendedGDBusPropertyInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusInterfaceInfo parent_struct;
590s # const gchar *hyphen_name;
590s # } _ExtendedGDBusInterfaceInfo;
590s #
590s # typedef struct
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # guint prop_id;
590s # GValue orig_value; /* the value before the change */
590s # } ChangedProperty;
590s #
590s # static void
590s # _changed_property_free (ChangedProperty *data)
590s # {
590s # g_value_unset (&data->orig_value);
590s # g_free (data);
590s # }
590s #
590s # static gboolean
590s # _g_strv_equal0 (gchar **a, gchar **b)
590s # {
590s # gboolean ret = FALSE;
590s # guint n;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # if (g_strv_length (a) != g_strv_length (b))
590s # goto out;
590s # for (n = 0; a[n] != NULL; n++)
590s # if (g_strcmp0 (a[n], b[n]) != 0)
590s # goto out;
590s # ret = TRUE;
590s # out:
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _g_variant_equal0 (GVariant *a, GVariant *b)
590s # {
590s # gboolean ret = FALSE;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # ret = g_variant_equal (a, b);
590s # out:
590s # return ret;
590s # }
590s #
590s # G_GNUC_UNUSED static gboolean
590s # _g_value_equal (const GValue *a, const GValue *b)
590s # {
590s # gboolean ret = FALSE;
590s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
590s # switch (G_VALUE_TYPE (a))
590s # {
590s # case G_TYPE_BOOLEAN:
590s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
590s # break;
590s # case G_TYPE_UCHAR:
590s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
590s # break;
590s # case G_TYPE_INT:
590s # ret = (g_value_get_int (a) == g_value_get_int (b));
590s # break;
590s # case G_TYPE_UINT:
590s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
590s # break;
590s # case G_TYPE_INT64:
590s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
590s # break;
590s # case G_TYPE_UINT64:
590s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
590s # break;
590s # case G_TYPE_DOUBLE:
590s # {
590s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
590s # gdouble da = g_value_get_double (a);
590s # gdouble db = g_value_get_double (b);
590s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
590s # }
590s # break;
590s # case G_TYPE_STRING:
590s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
590s # break;
590s # case G_TYPE_VARIANT:
590s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
590s # break;
590s # default:
590s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
590s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
590s # else
590s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
590s # break;
590s # }
590s # return ret;
590s # }
590s #
590s # /* ------------------------------------------------------------------------
590s # * Code for interface GoodTypes
590s # * ------------------------------------------------------------------------
590s # */
590s #
590s # /**
590s # * SECTION:GoodTypes
590s # * @title: GoodTypes
590s # * @short_description: Generated C code for the GoodTypes D-Bus interface
590s # *
590s # * This section contains code for working with the GoodTypes D-Bus interface in C.
590s # */
590s #
590s # /* ---- Introspection data for GoodTypes ---- */
590s #
590s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodPropertyType",
590s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
590s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
590s # NULL
590s # },
590s # "good-property-type",
590s # FALSE,
590s # TRUE
590s # };
590s #
590s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
590s # {
590s # &_good_types_property_info_good_property_type.parent_struct,
590s # NULL
590s # };
590s #
590s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodTypes",
590s # NULL,
590s # NULL,
590s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
590s # NULL
590s # },
590s # "good-types",
590s # };
590s #
590s #
590s # /**
590s # * good_types_interface_info:
590s # *
590s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
590s # *
590s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
590s # */
590s # GDBusInterfaceInfo *
590s # good_types_interface_info (void)
590s # {
590s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
590s # }
590s #
590s # /**
590s # * good_types_override_properties:
590s # * @klass: The class structure for a #GObject derived class.
590s # * @property_id_begin: The property id to assign to the first overridden property.
590s # *
590s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
590s # * The properties are overridden in the order they are defined.
590s # *
590s # * Returns: The last property id.
590s # */
590s # guint
590s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
590s # {
590s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
590s # return property_id_begin - 1;
590s # }
590s #
590s #
590s #
590s # /**
590s # * GoodTypes:
590s # *
590s # * Abstract interface type for the D-Bus interface GoodTypes.
590s # */
590s #
590s # /**
590s # * GoodTypesIface:
590s # * @parent_iface: The parent interface.
590s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
590s # *
590s # * Virtual table for the D-Bus interface GoodTypes.
590s # */
590s #
590s # typedef GoodTypesIface GoodTypesInterface;
590s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
590s #
590s # static void
590s # good_types_default_init (GoodTypesIface *iface)
590s # {
590s # /* GObject properties for D-Bus properties: */
590s # /**
590s # * GoodTypes:good-property-type:
590s # *
590s # * Represents the D-Bus property "GoodPropertyType".
590s # *
590s # * 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.
590s # */
590s # g_object_interface_install_property (iface,
590s # 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));
590s # }
590s #
590s # /**
590s # * good_types_get_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets the value of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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.
590s # *
590s # * 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.
590s # */
590s # GVariant *
590s # good_types_get_good_property_type (GoodTypes *object)
590s # {
590s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
590s #
590s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
590s # }
590s #
590s # /**
590s # * good_types_dup_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets a copy of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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().
590s # */
590s # GVariant *
590s # good_types_dup_good_property_type (GoodTypes *object)
590s # {
590s # GVariant *value;
590s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
590s # return value;
590s # }
590s #
590s # /**
590s # * good_types_set_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # * @value: The value to set.
590s # *
590s # * Sets the "GoodPropertyType" D-Bus property to @value.
590s # *
590s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
590s # */
590s # void
590s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
590s # {
590s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
590s # }
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesProxy:
590s # *
590s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesProxyClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesProxy.
590s # */
590s #
590s # struct _GoodTypesProxyPrivate
590s # {
590s # GData *qdata;
590s # };
590s #
590s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_ADD_PRIVATE (GoodTypesProxy)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_proxy_finalize (GObject *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # g_datalist_clear (&proxy->priv->qdata);
590s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_proxy_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
590s # if (info->use_gvariant)
590s # {
590s # g_value_set_variant (value, variant);
590s # }
590s # else
590s # {
590s # if (variant != NULL)
590s # g_dbus_gvariant_to_gvalue (variant, value);
590s # }
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
590s # GAsyncResult *res,
590s # gpointer user_data)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info = user_data;
590s # GError *error;
590s # GVariant *_ret;
590s # error = NULL;
590s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
590s # if (!_ret)
590s # {
590s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
590s # info->parent_struct.name,
590s # error->message, g_quark_to_string (error->domain), error->code);
590s # g_error_free (error);
590s # }
590s # else
590s # {
590s # g_variant_unref (_ret);
590s # }
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_dbus_proxy_call (G_DBUS_PROXY (object),
590s # "org.freedesktop.DBus.Properties.Set",
590s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_signal (GDBusProxy *proxy,
590s # const gchar *sender_name G_GNUC_UNUSED,
590s # const gchar *signal_name,
590s # GVariant *parameters)
590s # {
590s # _ExtendedGDBusSignalInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # gsize n;
590s # guint signal_id;
590s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
590s # if (info == NULL)
590s # return;
590s # num_params = g_variant_n_children (parameters);
590s # paramv = g_new0 (GValue, num_params + 1);
590s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[0], proxy);
590s # g_variant_iter_init (&iter, parameters);
590s # n = 1;
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_signal_emitv (paramv, signal_id, 0, NULL);
590s # for (n = 0; n < num_params + 1; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
590s # GVariant *changed_properties,
590s # const gchar *const *invalidated_properties)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
590s # guint n;
590s # const gchar *key;
590s # GVariantIter *iter;
590s # _ExtendedGDBusPropertyInfo *info;
590s # g_variant_get (changed_properties, "a{sv}", &iter);
590s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
590s # g_datalist_remove_data (&proxy->priv->qdata, key);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # g_variant_iter_free (iter);
590s # for (n = 0; invalidated_properties[n] != NULL; n++)
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
590s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # }
590s #
590s # static GVariant *
590s # good_types_proxy_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # GVariant *variant;
590s # GVariant *value = NULL;
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
590s # value = variant;
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_proxy_init (GoodTypesProxy *proxy)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # proxy->priv = good_types_proxy_get_instance_private (proxy);
590s # #else
590s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
590s # #endif
590s #
590s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
590s # }
590s #
590s # static void
590s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusProxyClass *proxy_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_proxy_finalize;
590s # gobject_class->get_property = good_types_proxy_get_property;
590s # gobject_class->set_property = good_types_proxy_set_property;
590s #
590s # proxy_class = G_DBUS_PROXY_CLASS (klass);
590s # proxy_class->g_signal = good_types_proxy_g_signal;
590s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_proxy_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_sync:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_sync (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /**
590s # * good_types_proxy_new_for_bus:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new_for_bus (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new_for_bus().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_sync:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_sync (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesSkeleton:
590s # *
590s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesSkeletonClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesSkeleton.
590s # */
590s #
590s # struct _GoodTypesSkeletonPrivate
590s # {
590s # GValue *properties;
590s # GList *changed_properties;
590s # GSource *changed_properties_idle_source;
590s # GMainContext *context;
590s # GMutex lock;
590s # };
590s #
590s # static void
590s # _good_types_skeleton_handle_method_call (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name,
590s # const gchar *method_name,
590s # GVariant *parameters,
590s # GDBusMethodInvocation *invocation,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # _ExtendedGDBusMethodInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # guint num_extra;
590s # gsize n;
590s # guint signal_id;
590s # GValue return_value = G_VALUE_INIT;
590s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
590s # g_assert (info != NULL);
590s # num_params = g_variant_n_children (parameters);
590s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
590s # n = 0;
590s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[n++], skeleton);
590s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
590s # g_value_set_object (¶mv[n++], invocation);
590s # if (info->pass_fdlist)
590s # {
590s # #ifdef G_OS_UNIX
590s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
590s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
590s # #else
590s # g_assert_not_reached ();
590s # #endif
590s # }
590s # g_variant_iter_init (&iter, parameters);
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_value_init (&return_value, G_TYPE_BOOLEAN);
590s # g_signal_emitv (paramv, signal_id, 0, &return_value);
590s # if (!g_value_get_boolean (&return_value))
590s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
590s # g_value_unset (&return_value);
590s # for (n = 0; n < num_params + num_extra; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static GVariant *
590s # _good_types_skeleton_handle_get_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # GVariant *ret;
590s # ret = NULL;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # g_value_init (&value, pspec->value_type);
590s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_value_unset (&value);
590s # }
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _good_types_skeleton_handle_set_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GVariant *variant,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # gboolean ret;
590s # ret = FALSE;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # if (info->use_gvariant)
590s # g_value_set_variant (&value, variant);
590s # else
590s # g_dbus_gvariant_to_gvalue (variant, &value);
590s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # g_value_unset (&value);
590s # ret = TRUE;
590s # }
590s # return ret;
590s # }
590s #
590s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
590s # {
590s # _good_types_skeleton_handle_method_call,
590s # _good_types_skeleton_handle_get_property,
590s # _good_types_skeleton_handle_set_property,
590s # {NULL}
590s # };
590s #
590s # static GDBusInterfaceInfo *
590s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return good_types_interface_info ();
590s # }
590s #
590s # static GDBusInterfaceVTable *
590s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s #
590s # GVariantBuilder builder;
590s # guint n;
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #else
590s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #endif
590s # if (_good_types_interface_info.parent_struct.properties == NULL)
590s # goto out;
590s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
590s # {
590s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
590s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
590s # {
590s # GVariant *value;
590s # 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);
590s # if (value != NULL)
590s # {
590s # g_variant_take_ref (value);
590s # g_variant_builder_add (&builder, "{sv}", info->name, value);
590s # g_variant_unref (value);
590s # }
590s # }
590s # }
590s # out:
590s # return g_variant_builder_end (&builder);
590s # }
590s #
590s # static gboolean _good_types_emit_changed (gpointer user_data);
590s #
590s # static void
590s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s # gboolean emit_changed = FALSE;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # {
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # emit_changed = TRUE;
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s #
590s # if (emit_changed)
590s # _good_types_emit_changed (skeleton);
590s # }
590s #
590s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_ADD_PRIVATE (GoodTypesSkeleton)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_skeleton_finalize (GObject *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # guint n;
590s # for (n = 0; n < 1; n++)
590s # g_value_unset (&skeleton->priv->properties[n]);
590s # g_free (skeleton->priv->properties);
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # g_main_context_unref (skeleton->priv->context);
590s # g_mutex_clear (&skeleton->priv->lock);
590s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static gboolean
590s # _good_types_emit_changed (gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GList *l;
590s # GVariantBuilder builder;
590s # GVariantBuilder invalidated_builder;
590s # guint num_changes;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #else
590s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #endif
590s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *cp = l->data;
590s # GVariant *variant;
590s # const GValue *cur_value;
590s #
590s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
590s # if (!_g_value_equal (cur_value, &cp->orig_value))
590s # {
590s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
590s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
590s # g_variant_unref (variant);
590s # num_changes++;
590s # }
590s # }
590s # if (num_changes > 0)
590s # {
590s # GList *connections, *ll;
590s # GVariant *signal_variant;
590s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
590s # &builder, &invalidated_builder));
590s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
590s # for (ll = connections; ll != NULL; ll = ll->next)
590s # {
590s # GDBusConnection *connection = ll->data;
590s #
590s # g_dbus_connection_emit_signal (connection,
590s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
590s # "org.freedesktop.DBus.Properties",
590s # "PropertiesChanged",
590s # signal_variant,
590s # NULL);
590s # }
590s # g_variant_unref (signal_variant);
590s # g_list_free_full (connections, g_object_unref);
590s # }
590s # else
590s # {
590s # g_variant_builder_clear (&builder);
590s # g_variant_builder_clear (&invalidated_builder);
590s # }
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # skeleton->priv->changed_properties = NULL;
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return FALSE;
590s # }
590s #
590s # static void
590s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
590s # {
590s # ChangedProperty *cp;
590s # GList *l;
590s # cp = NULL;
590s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *i_cp = l->data;
590s # if (i_cp->info == info)
590s # {
590s # cp = i_cp;
590s # break;
590s # }
590s # }
590s # if (cp == NULL)
590s # {
590s # cp = g_new0 (ChangedProperty, 1);
590s # cp->prop_id = prop_id;
590s # cp->info = info;
590s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
590s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
590s # g_value_copy (orig_value, &cp->orig_value);
590s # }
590s # }
590s #
590s # static void
590s # good_types_skeleton_notify (GObject *object,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties != NULL &&
590s # skeleton->priv->changed_properties_idle_source == NULL)
590s # {
590s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
590s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
590s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
590s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
590s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
590s # g_source_unref (skeleton->priv->changed_properties_idle_source);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static void
590s # good_types_skeleton_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_object_freeze_notify (object);
590s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
590s # {
590s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
590s # info->emits_changed_signal)
590s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
590s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
590s # g_object_notify_by_pspec (object, pspec);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # g_object_thaw_notify (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
590s # #else
590s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
590s # #endif
590s #
590s # g_mutex_init (&skeleton->priv->lock);
590s # skeleton->priv->context = g_main_context_ref_thread_default ();
590s # skeleton->priv->properties = g_new0 (GValue, 1);
590s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # GVariant *value;
590s # g_mutex_lock (&skeleton->priv->lock);
590s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusInterfaceSkeletonClass *skeleton_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_skeleton_finalize;
590s # gobject_class->get_property = good_types_skeleton_get_property;
590s # gobject_class->set_property = good_types_skeleton_set_property;
590s # gobject_class->notify = good_types_skeleton_notify;
590s #
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
590s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
590s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
590s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
590s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_skeleton_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_skeleton_new:
590s # *
590s # * Creates a skeleton object for the D-Bus interface GoodTypes.
590s # *
590s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
590s # */
590s # GoodTypes *
590s # good_types_skeleton_new (void)
590s # {
590s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
590s # }
590s # Error:
590s #
590s # /tmp/tmphfi0g4sh/tmptyd0p8nc.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmptyd0p8nc.xml', '--output', '-', '--body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # #ifdef G_OS_UNIX
590s # # include
590s # #endif
590s #
590s # #ifdef G_ENABLE_DEBUG
590s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
590s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
590s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
590s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
590s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
590s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
590s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
590s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
590s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
590s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
590s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
590s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
590s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
590s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
590s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
590s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
590s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
590s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
590s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
590s # #else /* !G_ENABLE_DEBUG */
590s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
590s # * Do not access GValues directly in your code. Instead, use the
590s # * g_value_get_*() functions
590s # */
590s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
590s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
590s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
590s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
590s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
590s # #endif /* !G_ENABLE_DEBUG */
590s #
590s # typedef struct
590s # {
590s # GDBusArgInfo parent_struct;
590s # gboolean use_gvariant;
590s # } _ExtendedGDBusArgInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusMethodInfo parent_struct;
590s # const gchar *signal_name;
590s # gboolean pass_fdlist;
590s # } _ExtendedGDBusMethodInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusSignalInfo parent_struct;
590s # const gchar *signal_name;
590s # } _ExtendedGDBusSignalInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusPropertyInfo parent_struct;
590s # const gchar *hyphen_name;
590s # guint use_gvariant : 1;
590s # guint emits_changed_signal : 1;
590s # } _ExtendedGDBusPropertyInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusInterfaceInfo parent_struct;
590s # const gchar *hyphen_name;
590s # } _ExtendedGDBusInterfaceInfo;
590s #
590s # typedef struct
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # guint prop_id;
590s # GValue orig_value; /* the value before the change */
590s # } ChangedProperty;
590s #
590s # static void
590s # _changed_property_free (ChangedProperty *data)
590s # {
590s # g_value_unset (&data->orig_value);
590s # g_free (data);
590s # }
590s #
590s # static gboolean
590s # _g_strv_equal0 (gchar **a, gchar **b)
590s # {
590s # gboolean ret = FALSE;
590s # guint n;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # if (g_strv_length (a) != g_strv_length (b))
590s # goto out;
590s # for (n = 0; a[n] != NULL; n++)
590s # if (g_strcmp0 (a[n], b[n]) != 0)
590s # goto out;
590s # ret = TRUE;
590s # out:
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _g_variant_equal0 (GVariant *a, GVariant *b)
590s # {
590s # gboolean ret = FALSE;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # ret = g_variant_equal (a, b);
590s # out:
590s # return ret;
590s # }
590s #
590s # G_GNUC_UNUSED static gboolean
590s # _g_value_equal (const GValue *a, const GValue *b)
590s # {
590s # gboolean ret = FALSE;
590s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
590s # switch (G_VALUE_TYPE (a))
590s # {
590s # case G_TYPE_BOOLEAN:
590s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
590s # break;
590s # case G_TYPE_UCHAR:
590s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
590s # break;
590s # case G_TYPE_INT:
590s # ret = (g_value_get_int (a) == g_value_get_int (b));
590s # break;
590s # case G_TYPE_UINT:
590s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
590s # break;
590s # case G_TYPE_INT64:
590s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
590s # break;
590s # case G_TYPE_UINT64:
590s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
590s # break;
590s # case G_TYPE_DOUBLE:
590s # {
590s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
590s # gdouble da = g_value_get_double (a);
590s # gdouble db = g_value_get_double (b);
590s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
590s # }
590s # break;
590s # case G_TYPE_STRING:
590s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
590s # break;
590s # case G_TYPE_VARIANT:
590s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
590s # break;
590s # default:
590s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
590s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
590s # else
590s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
590s # break;
590s # }
590s # return ret;
590s # }
590s #
590s # /* ------------------------------------------------------------------------
590s # * Code for interface GoodTypes
590s # * ------------------------------------------------------------------------
590s # */
590s #
590s # /**
590s # * SECTION:GoodTypes
590s # * @title: GoodTypes
590s # * @short_description: Generated C code for the GoodTypes D-Bus interface
590s # *
590s # * This section contains code for working with the GoodTypes D-Bus interface in C.
590s # */
590s #
590s # /* ---- Introspection data for GoodTypes ---- */
590s #
590s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodPropertyType",
590s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
590s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
590s # NULL
590s # },
590s # "good-property-type",
590s # FALSE,
590s # TRUE
590s # };
590s #
590s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
590s # {
590s # &_good_types_property_info_good_property_type.parent_struct,
590s # NULL
590s # };
590s #
590s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodTypes",
590s # NULL,
590s # NULL,
590s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
590s # NULL
590s # },
590s # "good-types",
590s # };
590s #
590s #
590s # /**
590s # * good_types_interface_info:
590s # *
590s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
590s # *
590s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
590s # */
590s # GDBusInterfaceInfo *
590s # good_types_interface_info (void)
590s # {
590s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
590s # }
590s #
590s # /**
590s # * good_types_override_properties:
590s # * @klass: The class structure for a #GObject derived class.
590s # * @property_id_begin: The property id to assign to the first overridden property.
590s # *
590s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
590s # * The properties are overridden in the order they are defined.
590s # *
590s # * Returns: The last property id.
590s # */
590s # guint
590s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
590s # {
590s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
590s # return property_id_begin - 1;
590s # }
590s #
590s #
590s #
590s # /**
590s # * GoodTypes:
590s # *
590s # * Abstract interface type for the D-Bus interface GoodTypes.
590s # */
590s #
590s # /**
590s # * GoodTypesIface:
590s # * @parent_iface: The parent interface.
590s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
590s # *
590s # * Virtual table for the D-Bus interface GoodTypes.
590s # */
590s #
590s # typedef GoodTypesIface GoodTypesInterface;
590s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
590s #
590s # static void
590s # good_types_default_init (GoodTypesIface *iface)
590s # {
590s # /* GObject properties for D-Bus properties: */
590s # /**
590s # * GoodTypes:good-property-type:
590s # *
590s # * Represents the D-Bus property "GoodPropertyType".
590s # *
590s # * 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.
590s # */
590s # g_object_interface_install_property (iface,
590s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
590s # }
590s #
590s # /**
590s # * good_types_get_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets the value of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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.
590s # *
590s # * 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.
590s # */
590s # GVariant *
590s # good_types_get_good_property_type (GoodTypes *object)
590s # {
590s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
590s #
590s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
590s # }
590s #
590s # /**
590s # * good_types_dup_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets a copy of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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().
590s # */
590s # GVariant *
590s # good_types_dup_good_property_type (GoodTypes *object)
590s # {
590s # GVariant *value;
590s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
590s # return value;
590s # }
590s #
590s # /**
590s # * good_types_set_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # * @value: The value to set.
590s # *
590s # * Sets the "GoodPropertyType" D-Bus property to @value.
590s # *
590s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
590s # */
590s # void
590s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
590s # {
590s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
590s # }
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesProxy:
590s # *
590s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesProxyClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesProxy.
590s # */
590s #
590s # struct _GoodTypesProxyPrivate
590s # {
590s # GData *qdata;
590s # };
590s #
590s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_ADD_PRIVATE (GoodTypesProxy)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_proxy_finalize (GObject *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # g_datalist_clear (&proxy->priv->qdata);
590s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_proxy_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
590s # if (info->use_gvariant)
590s # {
590s # g_value_set_variant (value, variant);
590s # }
590s # else
590s # {
590s # if (variant != NULL)
590s # g_dbus_gvariant_to_gvalue (variant, value);
590s # }
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
590s # GAsyncResult *res,
590s # gpointer user_data)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info = user_data;
590s # GError *error;
590s # GVariant *_ret;
590s # error = NULL;
590s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
590s # if (!_ret)
590s # {
590s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
590s # info->parent_struct.name,
590s # error->message, g_quark_to_string (error->domain), error->code);
590s # g_error_free (error);
590s # }
590s # else
590s # {
590s # g_variant_unref (_ret);
590s # }
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_dbus_proxy_call (G_DBUS_PROXY (object),
590s # "org.freedesktop.DBus.Properties.Set",
590s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_signal (GDBusProxy *proxy,
590s # const gchar *sender_name G_GNUC_UNUSED,
590s # const gchar *signal_name,
590s # GVariant *parameters)
590s # {
590s # _ExtendedGDBusSignalInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # gsize n;
590s # guint signal_id;
590s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
590s # if (info == NULL)
590s # return;
590s # num_params = g_variant_n_children (parameters);
590s # paramv = g_new0 (GValue, num_params + 1);
590s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[0], proxy);
590s # g_variant_iter_init (&iter, parameters);
590s # n = 1;
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_signal_emitv (paramv, signal_id, 0, NULL);
590s # for (n = 0; n < num_params + 1; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
590s # GVariant *changed_properties,
590s # const gchar *const *invalidated_properties)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
590s # guint n;
590s # const gchar *key;
590s # GVariantIter *iter;
590s # _ExtendedGDBusPropertyInfo *info;
590s # g_variant_get (changed_properties, "a{sv}", &iter);
590s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
590s # g_datalist_remove_data (&proxy->priv->qdata, key);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # g_variant_iter_free (iter);
590s # for (n = 0; invalidated_properties[n] != NULL; n++)
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
590s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # }
590s #
590s # static GVariant *
590s # good_types_proxy_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # GVariant *variant;
590s # GVariant *value = NULL;
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
590s # value = variant;
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_proxy_init (GoodTypesProxy *proxy)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # proxy->priv = good_types_proxy_get_instance_private (proxy);
590s # #else
590s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
590s # #endif
590s #
590s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
590s # }
590s #
590s # static void
590s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusProxyClass *proxy_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_proxy_finalize;
590s # gobject_class->get_property = good_types_proxy_get_property;
590s # gobject_class->set_property = good_types_proxy_set_property;
590s #
590s # proxy_class = G_DBUS_PROXY_CLASS (klass);
590s # proxy_class->g_signal = good_types_proxy_g_signal;
590s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_proxy_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_sync:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_sync (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /**
590s # * good_types_proxy_new_for_bus:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new_for_bus (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new_for_bus().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_sync:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_sync (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesSkeleton:
590s # *
590s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesSkeletonClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesSkeleton.
590s # */
590s #
590s # struct _GoodTypesSkeletonPrivate
590s # {
590s # GValue *properties;
590s # GList *changed_properties;
590s # GSource *changed_properties_idle_source;
590s # GMainContext *context;
590s # GMutex lock;
590s # };
590s #
590s # static void
590s # _good_types_skeleton_handle_method_call (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name,
590s # const gchar *method_name,
590s # GVariant *parameters,
590s # GDBusMethodInvocation *invocation,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # _ExtendedGDBusMethodInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # guint num_extra;
590s # gsize n;
590s # guint signal_id;
590s # GValue return_value = G_VALUE_INIT;
590s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
590s # g_assert (info != NULL);
590s # num_params = g_variant_n_children (parameters);
590s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
590s # n = 0;
590s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[n++], skeleton);
590s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
590s # g_value_set_object (¶mv[n++], invocation);
590s # if (info->pass_fdlist)
590s # {
590s # #ifdef G_OS_UNIX
590s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
590s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
590s # #else
590s # g_assert_not_reached ();
590s # #endif
590s # }
590s # g_variant_iter_init (&iter, parameters);
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_value_init (&return_value, G_TYPE_BOOLEAN);
590s # g_signal_emitv (paramv, signal_id, 0, &return_value);
590s # if (!g_value_get_boolean (&return_value))
590s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
590s # g_value_unset (&return_value);
590s # for (n = 0; n < num_params + num_extra; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static GVariant *
590s # _good_types_skeleton_handle_get_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # GVariant *ret;
590s # ret = NULL;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # g_value_init (&value, pspec->value_type);
590s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_value_unset (&value);
590s # }
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _good_types_skeleton_handle_set_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GVariant *variant,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # gboolean ret;
590s # ret = FALSE;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # if (info->use_gvariant)
590s # g_value_set_variant (&value, variant);
590s # else
590s # g_dbus_gvariant_to_gvalue (variant, &value);
590s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # g_value_unset (&value);
590s # ret = TRUE;
590s # }
590s # return ret;
590s # }
590s #
590s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
590s # {
590s # _good_types_skeleton_handle_method_call,
590s # _good_types_skeleton_handle_get_property,
590s # _good_types_skeleton_handle_set_property,
590s # {NULL}
590s # };
590s #
590s # static GDBusInterfaceInfo *
590s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return good_types_interface_info ();
590s # }
590s #
590s # static GDBusInterfaceVTable *
590s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s #
590s # GVariantBuilder builder;
590s # guint n;
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #else
590s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #endif
590s # if (_good_types_interface_info.parent_struct.properties == NULL)
590s # goto out;
590s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
590s # {
590s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
590s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
590s # {
590s # GVariant *value;
590s # 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);
590s # if (value != NULL)
590s # {
590s # g_variant_take_ref (value);
590s # g_variant_builder_add (&builder, "{sv}", info->name, value);
590s # g_variant_unref (value);
590s # }
590s # }
590s # }
590s # out:
590s # return g_variant_builder_end (&builder);
590s # }
590s #
590s # static gboolean _good_types_emit_changed (gpointer user_data);
590s #
590s # static void
590s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s # gboolean emit_changed = FALSE;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # {
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # emit_changed = TRUE;
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s #
590s # if (emit_changed)
590s # _good_types_emit_changed (skeleton);
590s # }
590s #
590s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_ADD_PRIVATE (GoodTypesSkeleton)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_skeleton_finalize (GObject *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # guint n;
590s # for (n = 0; n < 1; n++)
590s # g_value_unset (&skeleton->priv->properties[n]);
590s # g_free (skeleton->priv->properties);
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # g_main_context_unref (skeleton->priv->context);
590s # g_mutex_clear (&skeleton->priv->lock);
590s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static gboolean
590s # _good_types_emit_changed (gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GList *l;
590s # GVariantBuilder builder;
590s # GVariantBuilder invalidated_builder;
590s # guint num_changes;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #else
590s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #endif
590s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *cp = l->data;
590s # GVariant *variant;
590s # const GValue *cur_value;
590s #
590s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
590s # if (!_g_value_equal (cur_value, &cp->orig_value))
590s # {
590s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
590s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
590s # g_variant_unref (variant);
590s # num_changes++;
590s # }
590s # }
590s # if (num_changes > 0)
590s # {
590s # GList *connections, *ll;
590s # GVariant *signal_variant;
590s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
590s # &builder, &invalidated_builder));
590s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
590s # for (ll = connections; ll != NULL; ll = ll->next)
590s # {
590s # GDBusConnection *connection = ll->data;
590s #
590s # g_dbus_connection_emit_signal (connection,
590s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
590s # "org.freedesktop.DBus.Properties",
590s # "PropertiesChanged",
590s # signal_variant,
590s # NULL);
590s # }
590s # g_variant_unref (signal_variant);
590s # g_list_free_full (connections, g_object_unref);
590s # }
590s # else
590s # {
590s # g_variant_builder_clear (&builder);
590s # g_variant_builder_clear (&invalidated_builder);
590s # }
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # skeleton->priv->changed_properties = NULL;
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return FALSE;
590s # }
590s #
590s # static void
590s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
590s # {
590s # ChangedProperty *cp;
590s # GList *l;
590s # cp = NULL;
590s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *i_cp = l->data;
590s # if (i_cp->info == info)
590s # {
590s # cp = i_cp;
590s # break;
590s # }
590s # }
590s # if (cp == NULL)
590s # {
590s # cp = g_new0 (ChangedProperty, 1);
590s # cp->prop_id = prop_id;
590s # cp->info = info;
590s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
590s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
590s # g_value_copy (orig_value, &cp->orig_value);
590s # }
590s # }
590s #
590s # static void
590s # good_types_skeleton_notify (GObject *object,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties != NULL &&
590s # skeleton->priv->changed_properties_idle_source == NULL)
590s # {
590s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
590s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
590s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
590s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
590s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
590s # g_source_unref (skeleton->priv->changed_properties_idle_source);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static void
590s # good_types_skeleton_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_object_freeze_notify (object);
590s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
590s # {
590s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
590s # info->emits_changed_signal)
590s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
590s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
590s # g_object_notify_by_pspec (object, pspec);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # g_object_thaw_notify (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
590s # #else
590s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
590s # #endif
590s #
590s # g_mutex_init (&skeleton->priv->lock);
590s # skeleton->priv->context = g_main_context_ref_thread_default ();
590s # skeleton->priv->properties = g_new0 (GValue, 1);
590s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # GVariant *value;
590s # g_mutex_lock (&skeleton->priv->lock);
590s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusInterfaceSkeletonClass *skeleton_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_skeleton_finalize;
590s # gobject_class->get_property = good_types_skeleton_get_property;
590s # gobject_class->set_property = good_types_skeleton_set_property;
590s # gobject_class->notify = good_types_skeleton_notify;
590s #
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
590s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
590s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
590s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
590s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_skeleton_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_skeleton_new:
590s # *
590s # * Creates a skeleton object for the D-Bus interface GoodTypes.
590s # *
590s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
590s # */
590s # GoodTypes *
590s # good_types_skeleton_new (void)
590s # {
590s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
590s # }
590s # Error:
590s #
590s # /tmp/tmphfi0g4sh/tmpz8km7jl5.xml:
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphfi0g4sh/tmpz8km7jl5.xml', '--output', '-', '--body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # #ifdef G_OS_UNIX
590s # # include
590s # #endif
590s #
590s # #ifdef G_ENABLE_DEBUG
590s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
590s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
590s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
590s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
590s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
590s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
590s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
590s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
590s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
590s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
590s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
590s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
590s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
590s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
590s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
590s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
590s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
590s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
590s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
590s # #else /* !G_ENABLE_DEBUG */
590s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
590s # * Do not access GValues directly in your code. Instead, use the
590s # * g_value_get_*() functions
590s # */
590s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
590s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
590s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
590s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
590s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
590s # #endif /* !G_ENABLE_DEBUG */
590s #
590s # typedef struct
590s # {
590s # GDBusArgInfo parent_struct;
590s # gboolean use_gvariant;
590s # } _ExtendedGDBusArgInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusMethodInfo parent_struct;
590s # const gchar *signal_name;
590s # gboolean pass_fdlist;
590s # } _ExtendedGDBusMethodInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusSignalInfo parent_struct;
590s # const gchar *signal_name;
590s # } _ExtendedGDBusSignalInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusPropertyInfo parent_struct;
590s # const gchar *hyphen_name;
590s # guint use_gvariant : 1;
590s # guint emits_changed_signal : 1;
590s # } _ExtendedGDBusPropertyInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusInterfaceInfo parent_struct;
590s # const gchar *hyphen_name;
590s # } _ExtendedGDBusInterfaceInfo;
590s #
590s # typedef struct
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # guint prop_id;
590s # GValue orig_value; /* the value before the change */
590s # } ChangedProperty;
590s #
590s # static void
590s # _changed_property_free (ChangedProperty *data)
590s # {
590s # g_value_unset (&data->orig_value);
590s # g_free (data);
590s # }
590s #
590s # static gboolean
590s # _g_strv_equal0 (gchar **a, gchar **b)
590s # {
590s # gboolean ret = FALSE;
590s # guint n;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # if (g_strv_length (a) != g_strv_length (b))
590s # goto out;
590s # for (n = 0; a[n] != NULL; n++)
590s # if (g_strcmp0 (a[n], b[n]) != 0)
590s # goto out;
590s # ret = TRUE;
590s # out:
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _g_variant_equal0 (GVariant *a, GVariant *b)
590s # {
590s # gboolean ret = FALSE;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # ret = g_variant_equal (a, b);
590s # out:
590s # return ret;
590s # }
590s #
590s # G_GNUC_UNUSED static gboolean
590s # _g_value_equal (const GValue *a, const GValue *b)
590s # {
590s # gboolean ret = FALSE;
590s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
590s # switch (G_VALUE_TYPE (a))
590s # {
590s # case G_TYPE_BOOLEAN:
590s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
590s # break;
590s # case G_TYPE_UCHAR:
590s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
590s # break;
590s # case G_TYPE_INT:
590s # ret = (g_value_get_int (a) == g_value_get_int (b));
590s # break;
590s # case G_TYPE_UINT:
590s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
590s # break;
590s # case G_TYPE_INT64:
590s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
590s # break;
590s # case G_TYPE_UINT64:
590s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
590s # break;
590s # case G_TYPE_DOUBLE:
590s # {
590s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
590s # gdouble da = g_value_get_double (a);
590s # gdouble db = g_value_get_double (b);
590s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
590s # }
590s # break;
590s # case G_TYPE_STRING:
590s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
590s # break;
590s # case G_TYPE_VARIANT:
590s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
590s # break;
590s # default:
590s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
590s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
590s # else
590s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
590s # break;
590s # }
590s # return ret;
590s # }
590s #
590s # /* ------------------------------------------------------------------------
590s # * Code for interface GoodTypes
590s # * ------------------------------------------------------------------------
590s # */
590s #
590s # /**
590s # * SECTION:GoodTypes
590s # * @title: GoodTypes
590s # * @short_description: Generated C code for the GoodTypes D-Bus interface
590s # *
590s # * This section contains code for working with the GoodTypes D-Bus interface in C.
590s # */
590s #
590s # /* ---- Introspection data for GoodTypes ---- */
590s #
590s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodPropertyType",
590s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
590s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
590s # NULL
590s # },
590s # "good-property-type",
590s # FALSE,
590s # TRUE
590s # };
590s #
590s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
590s # {
590s # &_good_types_property_info_good_property_type.parent_struct,
590s # NULL
590s # };
590s #
590s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
590s # {
590s # {
590s # -1,
590s # (gchar *) "GoodTypes",
590s # NULL,
590s # NULL,
590s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
590s # NULL
590s # },
590s # "good-types",
590s # };
590s #
590s #
590s # /**
590s # * good_types_interface_info:
590s # *
590s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
590s # *
590s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
590s # */
590s # GDBusInterfaceInfo *
590s # good_types_interface_info (void)
590s # {
590s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
590s # }
590s #
590s # /**
590s # * good_types_override_properties:
590s # * @klass: The class structure for a #GObject derived class.
590s # * @property_id_begin: The property id to assign to the first overridden property.
590s # *
590s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
590s # * The properties are overridden in the order they are defined.
590s # *
590s # * Returns: The last property id.
590s # */
590s # guint
590s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
590s # {
590s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
590s # return property_id_begin - 1;
590s # }
590s #
590s #
590s #
590s # /**
590s # * GoodTypes:
590s # *
590s # * Abstract interface type for the D-Bus interface GoodTypes.
590s # */
590s #
590s # /**
590s # * GoodTypesIface:
590s # * @parent_iface: The parent interface.
590s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
590s # *
590s # * Virtual table for the D-Bus interface GoodTypes.
590s # */
590s #
590s # typedef GoodTypesIface GoodTypesInterface;
590s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
590s #
590s # static void
590s # good_types_default_init (GoodTypesIface *iface)
590s # {
590s # /* GObject properties for D-Bus properties: */
590s # /**
590s # * GoodTypes:good-property-type:
590s # *
590s # * Represents the D-Bus property "GoodPropertyType".
590s # *
590s # * 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.
590s # */
590s # g_object_interface_install_property (iface,
590s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
590s # }
590s #
590s # /**
590s # * good_types_get_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets the value of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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.
590s # *
590s # * 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.
590s # */
590s # GVariant *
590s # good_types_get_good_property_type (GoodTypes *object)
590s # {
590s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
590s #
590s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
590s # }
590s #
590s # /**
590s # * good_types_dup_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # *
590s # * Gets a copy of the "GoodPropertyType" D-Bus property.
590s # *
590s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
590s # *
590s # * 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().
590s # */
590s # GVariant *
590s # good_types_dup_good_property_type (GoodTypes *object)
590s # {
590s # GVariant *value;
590s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
590s # return value;
590s # }
590s #
590s # /**
590s # * good_types_set_good_property_type: (skip)
590s # * @object: A GoodTypes.
590s # * @value: The value to set.
590s # *
590s # * Sets the "GoodPropertyType" D-Bus property to @value.
590s # *
590s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
590s # */
590s # void
590s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
590s # {
590s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
590s # }
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesProxy:
590s # *
590s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesProxyClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesProxy.
590s # */
590s #
590s # struct _GoodTypesProxyPrivate
590s # {
590s # GData *qdata;
590s # };
590s #
590s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_ADD_PRIVATE (GoodTypesProxy)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_proxy_finalize (GObject *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # g_datalist_clear (&proxy->priv->qdata);
590s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_proxy_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
590s # if (info->use_gvariant)
590s # {
590s # g_value_set_variant (value, variant);
590s # }
590s # else
590s # {
590s # if (variant != NULL)
590s # g_dbus_gvariant_to_gvalue (variant, value);
590s # }
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
590s # GAsyncResult *res,
590s # gpointer user_data)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info = user_data;
590s # GError *error;
590s # GVariant *_ret;
590s # error = NULL;
590s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
590s # if (!_ret)
590s # {
590s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
590s # info->parent_struct.name,
590s # error->message, g_quark_to_string (error->domain), error->code);
590s # g_error_free (error);
590s # }
590s # else
590s # {
590s # g_variant_unref (_ret);
590s # }
590s # }
590s #
590s # static void
590s # good_types_proxy_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GVariant *variant;
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_dbus_proxy_call (G_DBUS_PROXY (object),
590s # "org.freedesktop.DBus.Properties.Set",
590s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
590s # g_variant_unref (variant);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_signal (GDBusProxy *proxy,
590s # const gchar *sender_name G_GNUC_UNUSED,
590s # const gchar *signal_name,
590s # GVariant *parameters)
590s # {
590s # _ExtendedGDBusSignalInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # gsize n;
590s # guint signal_id;
590s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
590s # if (info == NULL)
590s # return;
590s # num_params = g_variant_n_children (parameters);
590s # paramv = g_new0 (GValue, num_params + 1);
590s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[0], proxy);
590s # g_variant_iter_init (&iter, parameters);
590s # n = 1;
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_signal_emitv (paramv, signal_id, 0, NULL);
590s # for (n = 0; n < num_params + 1; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static void
590s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
590s # GVariant *changed_properties,
590s # const gchar *const *invalidated_properties)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
590s # guint n;
590s # const gchar *key;
590s # GVariantIter *iter;
590s # _ExtendedGDBusPropertyInfo *info;
590s # g_variant_get (changed_properties, "a{sv}", &iter);
590s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
590s # g_datalist_remove_data (&proxy->priv->qdata, key);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # g_variant_iter_free (iter);
590s # for (n = 0; invalidated_properties[n] != NULL; n++)
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
590s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # }
590s #
590s # static GVariant *
590s # good_types_proxy_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
590s # GVariant *variant;
590s # GVariant *value = NULL;
590s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
590s # value = variant;
590s # if (variant != NULL)
590s # g_variant_unref (variant);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_proxy_init (GoodTypesProxy *proxy)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # proxy->priv = good_types_proxy_get_instance_private (proxy);
590s # #else
590s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
590s # #endif
590s #
590s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
590s # }
590s #
590s # static void
590s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusProxyClass *proxy_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_proxy_finalize;
590s # gobject_class->get_property = good_types_proxy_get_property;
590s # gobject_class->set_property = good_types_proxy_set_property;
590s #
590s # proxy_class = G_DBUS_PROXY_CLASS (klass);
590s # proxy_class->g_signal = good_types_proxy_g_signal;
590s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_proxy_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_sync:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_sync (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /**
590s # * good_types_proxy_new_for_bus:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
590s # *
590s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # good_types_proxy_new_for_bus (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with good_types_proxy_new_for_bus().
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * good_types_proxy_new_for_bus_sync:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # GoodTypes *
590s # good_types_proxy_new_for_bus_sync (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return GOOD_TYPES (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * GoodTypesSkeleton:
590s # *
590s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * GoodTypesSkeletonClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for GoodTypesSkeleton.
590s # */
590s #
590s # struct _GoodTypesSkeletonPrivate
590s # {
590s # GValue *properties;
590s # GList *changed_properties;
590s # GSource *changed_properties_idle_source;
590s # GMainContext *context;
590s # GMutex lock;
590s # };
590s #
590s # static void
590s # _good_types_skeleton_handle_method_call (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name,
590s # const gchar *method_name,
590s # GVariant *parameters,
590s # GDBusMethodInvocation *invocation,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # _ExtendedGDBusMethodInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # guint num_extra;
590s # gsize n;
590s # guint signal_id;
590s # GValue return_value = G_VALUE_INIT;
590s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
590s # g_assert (info != NULL);
590s # num_params = g_variant_n_children (parameters);
590s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
590s # n = 0;
590s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
590s # g_value_set_object (¶mv[n++], skeleton);
590s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
590s # g_value_set_object (¶mv[n++], invocation);
590s # if (info->pass_fdlist)
590s # {
590s # #ifdef G_OS_UNIX
590s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
590s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
590s # #else
590s # g_assert_not_reached ();
590s # #endif
590s # }
590s # g_variant_iter_init (&iter, parameters);
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
590s # g_value_init (&return_value, G_TYPE_BOOLEAN);
590s # g_signal_emitv (paramv, signal_id, 0, &return_value);
590s # if (!g_value_get_boolean (&return_value))
590s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
590s # g_value_unset (&return_value);
590s # for (n = 0; n < num_params + num_extra; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static GVariant *
590s # _good_types_skeleton_handle_get_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # GVariant *ret;
590s # ret = NULL;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # g_value_init (&value, pspec->value_type);
590s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_value_unset (&value);
590s # }
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _good_types_skeleton_handle_set_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GVariant *variant,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # gboolean ret;
590s # ret = FALSE;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # if (info->use_gvariant)
590s # g_value_set_variant (&value, variant);
590s # else
590s # g_dbus_gvariant_to_gvalue (variant, &value);
590s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # g_value_unset (&value);
590s # ret = TRUE;
590s # }
590s # return ret;
590s # }
590s #
590s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
590s # {
590s # _good_types_skeleton_handle_method_call,
590s # _good_types_skeleton_handle_get_property,
590s # _good_types_skeleton_handle_set_property,
590s # {NULL}
590s # };
590s #
590s # static GDBusInterfaceInfo *
590s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return good_types_interface_info ();
590s # }
590s #
590s # static GDBusInterfaceVTable *
590s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s #
590s # GVariantBuilder builder;
590s # guint n;
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #else
590s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #endif
590s # if (_good_types_interface_info.parent_struct.properties == NULL)
590s # goto out;
590s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
590s # {
590s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
590s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
590s # {
590s # GVariant *value;
590s # 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);
590s # if (value != NULL)
590s # {
590s # g_variant_take_ref (value);
590s # g_variant_builder_add (&builder, "{sv}", info->name, value);
590s # g_variant_unref (value);
590s # }
590s # }
590s # }
590s # out:
590s # return g_variant_builder_end (&builder);
590s # }
590s #
590s # static gboolean _good_types_emit_changed (gpointer user_data);
590s #
590s # static void
590s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
590s # gboolean emit_changed = FALSE;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # {
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # emit_changed = TRUE;
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s #
590s # if (emit_changed)
590s # _good_types_emit_changed (skeleton);
590s # }
590s #
590s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_ADD_PRIVATE (GoodTypesSkeleton)
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
590s #
590s # #endif
590s # static void
590s # good_types_skeleton_finalize (GObject *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # guint n;
590s # for (n = 0; n < 1; n++)
590s # g_value_unset (&skeleton->priv->properties[n]);
590s # g_free (skeleton->priv->properties);
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # g_main_context_unref (skeleton->priv->context);
590s # g_mutex_clear (&skeleton->priv->lock);
590s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_get_property (GObject *object,
590s # guint prop_id,
590s # GValue *value,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static gboolean
590s # _good_types_emit_changed (gpointer user_data)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
590s # GList *l;
590s # GVariantBuilder builder;
590s # GVariantBuilder invalidated_builder;
590s # guint num_changes;
590s #
590s # g_mutex_lock (&skeleton->priv->lock);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #else
590s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
590s # #endif
590s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *cp = l->data;
590s # GVariant *variant;
590s # const GValue *cur_value;
590s #
590s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
590s # if (!_g_value_equal (cur_value, &cp->orig_value))
590s # {
590s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
590s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
590s # g_variant_unref (variant);
590s # num_changes++;
590s # }
590s # }
590s # if (num_changes > 0)
590s # {
590s # GList *connections, *ll;
590s # GVariant *signal_variant;
590s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
590s # &builder, &invalidated_builder));
590s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
590s # for (ll = connections; ll != NULL; ll = ll->next)
590s # {
590s # GDBusConnection *connection = ll->data;
590s #
590s # g_dbus_connection_emit_signal (connection,
590s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
590s # "org.freedesktop.DBus.Properties",
590s # "PropertiesChanged",
590s # signal_variant,
590s # NULL);
590s # }
590s # g_variant_unref (signal_variant);
590s # g_list_free_full (connections, g_object_unref);
590s # }
590s # else
590s # {
590s # g_variant_builder_clear (&builder);
590s # g_variant_builder_clear (&invalidated_builder);
590s # }
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # skeleton->priv->changed_properties = NULL;
590s # skeleton->priv->changed_properties_idle_source = NULL;
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return FALSE;
590s # }
590s #
590s # static void
590s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
590s # {
590s # ChangedProperty *cp;
590s # GList *l;
590s # cp = NULL;
590s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
590s # {
590s # ChangedProperty *i_cp = l->data;
590s # if (i_cp->info == info)
590s # {
590s # cp = i_cp;
590s # break;
590s # }
590s # }
590s # if (cp == NULL)
590s # {
590s # cp = g_new0 (ChangedProperty, 1);
590s # cp->prop_id = prop_id;
590s # cp->info = info;
590s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
590s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
590s # g_value_copy (orig_value, &cp->orig_value);
590s # }
590s # }
590s #
590s # static void
590s # good_types_skeleton_notify (GObject *object,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_mutex_lock (&skeleton->priv->lock);
590s # if (skeleton->priv->changed_properties != NULL &&
590s # skeleton->priv->changed_properties_idle_source == NULL)
590s # {
590s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
590s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
590s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
590s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
590s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
590s # g_source_unref (skeleton->priv->changed_properties_idle_source);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # }
590s #
590s # static void
590s # good_types_skeleton_set_property (GObject *object,
590s # guint prop_id,
590s # const GValue *value,
590s # GParamSpec *pspec)
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # g_assert (prop_id != 0 && prop_id - 1 < 1);
590s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
590s # g_mutex_lock (&skeleton->priv->lock);
590s # g_object_freeze_notify (object);
590s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
590s # {
590s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
590s # info->emits_changed_signal)
590s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
590s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
590s # g_object_notify_by_pspec (object, pspec);
590s # }
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # g_object_thaw_notify (object);
590s # }
590s #
590s # static void
590s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
590s # #else
590s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
590s # #endif
590s #
590s # g_mutex_init (&skeleton->priv->lock);
590s # skeleton->priv->context = g_main_context_ref_thread_default ();
590s # skeleton->priv->properties = g_new0 (GValue, 1);
590s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
590s # }
590s #
590s # static GVariant *
590s # good_types_skeleton_get_good_property_type (GoodTypes *object)
590s # {
590s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
590s # GVariant *value;
590s # g_mutex_lock (&skeleton->priv->lock);
590s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
590s # g_mutex_unlock (&skeleton->priv->lock);
590s # return value;
590s # }
590s #
590s # static void
590s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusInterfaceSkeletonClass *skeleton_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = good_types_skeleton_finalize;
590s # gobject_class->get_property = good_types_skeleton_get_property;
590s # gobject_class->set_property = good_types_skeleton_set_property;
590s # gobject_class->notify = good_types_skeleton_notify;
590s #
590s #
590s # good_types_override_properties (gobject_class, 1);
590s #
590s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
590s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
590s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
590s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
590s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # good_types_skeleton_iface_init (GoodTypesIface *iface)
590s # {
590s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
590s # }
590s #
590s # /**
590s # * good_types_skeleton_new:
590s # *
590s # * Creates a skeleton object for the D-Bus interface GoodTypes.
590s # *
590s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
590s # */
590s # GoodTypes *
590s # good_types_skeleton_new (void)
590s # {
590s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
590s # }
590s # Error:
590s ok 3 __main__.TestCodegen.test_empty_interface_body
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmpc_p5lk58
590s # /tmp/tmpc_p5lk58/tmp0z3e1o_8.xml:
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpc_p5lk58/tmp0z3e1o_8.xml', '--output', '-', '--body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # #ifdef G_OS_UNIX
590s # # include
590s # #endif
590s #
590s # #ifdef G_ENABLE_DEBUG
590s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
590s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
590s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
590s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
590s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
590s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
590s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
590s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
590s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
590s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
590s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
590s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
590s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
590s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
590s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
590s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
590s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
590s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
590s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
590s # #else /* !G_ENABLE_DEBUG */
590s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
590s # * Do not access GValues directly in your code. Instead, use the
590s # * g_value_get_*() functions
590s # */
590s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
590s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
590s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
590s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
590s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
590s # #endif /* !G_ENABLE_DEBUG */
590s #
590s # typedef struct
590s # {
590s # GDBusArgInfo parent_struct;
590s # gboolean use_gvariant;
590s # } _ExtendedGDBusArgInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusMethodInfo parent_struct;
590s # const gchar *signal_name;
590s # gboolean pass_fdlist;
590s # } _ExtendedGDBusMethodInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusSignalInfo parent_struct;
590s # const gchar *signal_name;
590s # } _ExtendedGDBusSignalInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusPropertyInfo parent_struct;
590s # const gchar *hyphen_name;
590s # guint use_gvariant : 1;
590s # guint emits_changed_signal : 1;
590s # } _ExtendedGDBusPropertyInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusInterfaceInfo parent_struct;
590s # const gchar *hyphen_name;
590s # } _ExtendedGDBusInterfaceInfo;
590s #
590s # typedef struct
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # guint prop_id;
590s # GValue orig_value; /* the value before the change */
590s # } ChangedProperty;
590s #
590s # static void
590s # _changed_property_free (ChangedProperty *data)
590s # {
590s # g_value_unset (&data->orig_value);
590s # g_free (data);
590s # }
590s #
590s # static gboolean
590s # _g_strv_equal0 (gchar **a, gchar **b)
590s # {
590s # gboolean ret = FALSE;
590s # guint n;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # if (g_strv_length (a) != g_strv_length (b))
590s # goto out;
590s # for (n = 0; a[n] != NULL; n++)
590s # if (g_strcmp0 (a[n], b[n]) != 0)
590s # goto out;
590s # ret = TRUE;
590s # out:
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _g_variant_equal0 (GVariant *a, GVariant *b)
590s # {
590s # gboolean ret = FALSE;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # ret = g_variant_equal (a, b);
590s # out:
590s # return ret;
590s # }
590s #
590s # G_GNUC_UNUSED static gboolean
590s # _g_value_equal (const GValue *a, const GValue *b)
590s # {
590s # gboolean ret = FALSE;
590s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
590s # switch (G_VALUE_TYPE (a))
590s # {
590s # case G_TYPE_BOOLEAN:
590s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
590s # break;
590s # case G_TYPE_UCHAR:
590s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
590s # break;
590s # case G_TYPE_INT:
590s # ret = (g_value_get_int (a) == g_value_get_int (b));
590s # break;
590s # case G_TYPE_UINT:
590s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
590s # break;
590s # case G_TYPE_INT64:
590s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
590s # break;
590s # case G_TYPE_UINT64:
590s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
590s # break;
590s # case G_TYPE_DOUBLE:
590s # {
590s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
590s # gdouble da = g_value_get_double (a);
590s # gdouble db = g_value_get_double (b);
590s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
590s # }
590s # break;
590s # case G_TYPE_STRING:
590s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
590s # break;
590s # case G_TYPE_VARIANT:
590s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
590s # break;
590s # default:
590s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
590s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
590s # else
590s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
590s # break;
590s # }
590s # return ret;
590s # }
590s # Error:
590s ok 4 __main__.TestCodegen.test_empty_interface_header
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmp202okm4e
590s # /tmp/tmp202okm4e/tmp2ted7oij.xml:
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp202okm4e/tmp2ted7oij.xml', '--output', '-', '--header']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifndef __STDOUT__
590s # #define __STDOUT__
590s #
590s # #include
590s #
590s # G_BEGIN_DECLS
590s #
590s #
590s # G_END_DECLS
590s #
590s # #endif /* __STDOUT__ */
590s # Error:
590s ok 5 __main__.TestCodegen.test_empty_interface_info_body
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmp6ozpcd1i
590s # /tmp/tmp6ozpcd1i/tmpqaqfzp8x.xml:
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6ozpcd1i/tmpqaqfzp8x.xml', '--output', '-', '--interface-info-body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # Error:
590s ok 6 __main__.TestCodegen.test_empty_interface_info_header
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmpswq7gxix
590s # /tmp/tmpswq7gxix/tmpt2zvmle_.xml:
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpswq7gxix/tmpt2zvmle_.xml', '--output', '-', '--interface-info-header']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifndef __STDOUT__
590s # #define __STDOUT__
590s #
590s # #include
590s #
590s # G_BEGIN_DECLS
590s #
590s #
590s # G_END_DECLS
590s #
590s # #endif /* __STDOUT__ */
590s # Error:
590s ok 7 __main__.TestCodegen.test_generate_docbook
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmp3qci5jbm
590s # /tmp/tmp3qci5jbm/tmpzd2xj1cc.xml:
590s #
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3qci5jbm/tmpzd2xj1cc.xml', '--generate-docbook', 'test']
590s # Return code: 0
590s # Output:
590s #
590s # Error:
590s ok 8 __main__.TestCodegen.test_generate_md
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmpu3bu9z3w
590s # /tmp/tmpu3bu9z3w/tmpn6wzlvcl.xml:
590s #
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu3bu9z3w/tmpn6wzlvcl.xml', '--generate-md', 'test']
590s # Return code: 0
590s # Output:
590s #
590s # Error:
590s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
590s # gdbus-codegen: /usr/bin/gdbus-codegen
590s # tmpdir: /tmp/tmpw9r_4qop
590s # /tmp/tmpw9r_4qop/tmpswd65tdz.xml:
590s #
590s #
590s #
590s #
590s #
590s #
590s #
590s #
590s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpw9r_4qop/tmpswd65tdz.xml', '--output', '-', '--body']
590s # Return code: 0
590s # Output:
590s # /*
590s # * This file is generated by gdbus-codegen, do not modify it.
590s # *
590s # * The license of this code is the same as for the D-Bus interface description
590s # * it was derived from. Note that it links to GLib, so must comply with the
590s # * LGPL linking clauses.
590s # */
590s #
590s # #ifdef HAVE_CONFIG_H
590s # # include "config.h"
590s # #endif
590s #
590s # #include
590s # #ifdef G_OS_UNIX
590s # # include
590s # #endif
590s #
590s # #ifdef G_ENABLE_DEBUG
590s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
590s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
590s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
590s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
590s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
590s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
590s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
590s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
590s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
590s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
590s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
590s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
590s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
590s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
590s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
590s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
590s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
590s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
590s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
590s # #else /* !G_ENABLE_DEBUG */
590s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
590s # * Do not access GValues directly in your code. Instead, use the
590s # * g_value_get_*() functions
590s # */
590s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
590s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
590s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
590s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
590s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
590s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
590s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
590s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
590s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
590s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
590s # #endif /* !G_ENABLE_DEBUG */
590s #
590s # typedef struct
590s # {
590s # GDBusArgInfo parent_struct;
590s # gboolean use_gvariant;
590s # } _ExtendedGDBusArgInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusMethodInfo parent_struct;
590s # const gchar *signal_name;
590s # gboolean pass_fdlist;
590s # } _ExtendedGDBusMethodInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusSignalInfo parent_struct;
590s # const gchar *signal_name;
590s # } _ExtendedGDBusSignalInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusPropertyInfo parent_struct;
590s # const gchar *hyphen_name;
590s # guint use_gvariant : 1;
590s # guint emits_changed_signal : 1;
590s # } _ExtendedGDBusPropertyInfo;
590s #
590s # typedef struct
590s # {
590s # GDBusInterfaceInfo parent_struct;
590s # const gchar *hyphen_name;
590s # } _ExtendedGDBusInterfaceInfo;
590s #
590s # typedef struct
590s # {
590s # const _ExtendedGDBusPropertyInfo *info;
590s # guint prop_id;
590s # GValue orig_value; /* the value before the change */
590s # } ChangedProperty;
590s #
590s # static void
590s # _changed_property_free (ChangedProperty *data)
590s # {
590s # g_value_unset (&data->orig_value);
590s # g_free (data);
590s # }
590s #
590s # static gboolean
590s # _g_strv_equal0 (gchar **a, gchar **b)
590s # {
590s # gboolean ret = FALSE;
590s # guint n;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # if (g_strv_length (a) != g_strv_length (b))
590s # goto out;
590s # for (n = 0; a[n] != NULL; n++)
590s # if (g_strcmp0 (a[n], b[n]) != 0)
590s # goto out;
590s # ret = TRUE;
590s # out:
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _g_variant_equal0 (GVariant *a, GVariant *b)
590s # {
590s # gboolean ret = FALSE;
590s # if (a == NULL && b == NULL)
590s # {
590s # ret = TRUE;
590s # goto out;
590s # }
590s # if (a == NULL || b == NULL)
590s # goto out;
590s # ret = g_variant_equal (a, b);
590s # out:
590s # return ret;
590s # }
590s #
590s # G_GNUC_UNUSED static gboolean
590s # _g_value_equal (const GValue *a, const GValue *b)
590s # {
590s # gboolean ret = FALSE;
590s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
590s # switch (G_VALUE_TYPE (a))
590s # {
590s # case G_TYPE_BOOLEAN:
590s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
590s # break;
590s # case G_TYPE_UCHAR:
590s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
590s # break;
590s # case G_TYPE_INT:
590s # ret = (g_value_get_int (a) == g_value_get_int (b));
590s # break;
590s # case G_TYPE_UINT:
590s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
590s # break;
590s # case G_TYPE_INT64:
590s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
590s # break;
590s # case G_TYPE_UINT64:
590s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
590s # break;
590s # case G_TYPE_DOUBLE:
590s # {
590s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
590s # gdouble da = g_value_get_double (a);
590s # gdouble db = g_value_get_double (b);
590s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
590s # }
590s # break;
590s # case G_TYPE_STRING:
590s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
590s # break;
590s # case G_TYPE_VARIANT:
590s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
590s # break;
590s # default:
590s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
590s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
590s # else
590s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
590s # break;
590s # }
590s # return ret;
590s # }
590s #
590s # static void
590s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
590s # GClosure *closure,
590s # GValue *return_value,
590s # unsigned int n_param_values,
590s # const GValue *param_values,
590s # void *invocation_hint G_GNUC_UNUSED,
590s # void *marshal_data)
590s # {
590s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
590s # (void *data1,
590s # GDBusMethodInvocation *arg_method_invocation,
590s # void *data2);
590s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
590s # GCClosure *cc = (GCClosure*) closure;
590s # void *data1, *data2;
590s # gboolean v_return;
590s #
590s # g_return_if_fail (return_value != NULL);
590s # g_return_if_fail (n_param_values == 2);
590s #
590s # if (G_CCLOSURE_SWAP_DATA (closure))
590s # {
590s # data1 = closure->data;
590s # data2 = g_value_peek_pointer (param_values + 0);
590s # }
590s # else
590s # {
590s # data1 = g_value_peek_pointer (param_values + 0);
590s # data2 = closure->data;
590s # }
590s #
590s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
590s # (marshal_data ? marshal_data : cc->callback);
590s #
590s # v_return =
590s # callback (data1,
590s # g_marshal_value_peek_object (param_values + 1),
590s # data2);
590s #
590s # g_value_set_boolean (return_value, v_return);
590s # }
590s #
590s # /* ------------------------------------------------------------------------
590s # * Code for interface org.project.CallableIface
590s # * ------------------------------------------------------------------------
590s # */
590s #
590s # /**
590s # * SECTION:OrgProjectCallableIface
590s # * @title: OrgProjectCallableIface
590s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
590s # *
590s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
590s # */
590s #
590s # /* ---- Introspection data for org.project.CallableIface ---- */
590s #
590s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
590s # {
590s # {
590s # -1,
590s # (gchar *) "SimpleMethod",
590s # NULL,
590s # NULL,
590s # NULL
590s # },
590s # "handle-simple-method",
590s # FALSE
590s # };
590s #
590s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
590s # {
590s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
590s # NULL
590s # };
590s #
590s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
590s # {
590s # {
590s # -1,
590s # (gchar *) "org.project.CallableIface",
590s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
590s # NULL,
590s # NULL,
590s # NULL
590s # },
590s # "org-project-callable-iface",
590s # };
590s #
590s #
590s # /**
590s # * org_project_callable_iface_interface_info:
590s # *
590s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
590s # *
590s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
590s # */
590s # GDBusInterfaceInfo *
590s # org_project_callable_iface_interface_info (void)
590s # {
590s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_override_properties:
590s # * @klass: The class structure for a #GObject derived class.
590s # * @property_id_begin: The property id to assign to the first overridden property.
590s # *
590s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
590s # * The properties are overridden in the order they are defined.
590s # *
590s # * Returns: The last property id.
590s # */
590s # guint
590s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
590s # {
590s # return property_id_begin - 1;
590s # }
590s #
590s #
590s # inline static void
590s # org_project_callable_iface_method_marshal_simple_method (
590s # GClosure *closure,
590s # GValue *return_value,
590s # unsigned int n_param_values,
590s # const GValue *param_values,
590s # void *invocation_hint,
590s # void *marshal_data)
590s # {
590s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
590s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
590s # }
590s #
590s #
590s # /**
590s # * OrgProjectCallableIface:
590s # *
590s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
590s # */
590s #
590s # /**
590s # * OrgProjectCallableIfaceIface:
590s # * @parent_iface: The parent interface.
590s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
590s # *
590s # * Virtual table for the D-Bus interface org.project.CallableIface.
590s # */
590s #
590s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
590s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
590s #
590s # static void
590s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
590s # {
590s # /* GObject signals for incoming D-Bus method calls: */
590s # /**
590s # * OrgProjectCallableIface::handle-simple-method:
590s # * @object: A #OrgProjectCallableIface.
590s # * @invocation: A #GDBusMethodInvocation.
590s # *
590s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
590s # *
590s # * 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.
590s # *
590s # * 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.
590s # */
590s # g_signal_new ("handle-simple-method",
590s # G_TYPE_FROM_INTERFACE (iface),
590s # G_SIGNAL_RUN_LAST,
590s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
590s # g_signal_accumulator_true_handled,
590s # NULL,
590s # org_project_callable_iface_method_marshal_simple_method,
590s # G_TYPE_BOOLEAN,
590s # 1,
590s # G_TYPE_DBUS_METHOD_INVOCATION);
590s #
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_call_simple_method:
590s # * @proxy: A #OrgProjectCallableIfaceProxy.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
590s # *
590s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
590s # */
590s # void
590s # org_project_callable_iface_call_simple_method (
590s # OrgProjectCallableIface *proxy,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
590s # "SimpleMethod",
590s # g_variant_new ("()"),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # cancellable,
590s # callback,
590s # user_data);
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_call_simple_method_finish:
590s # * @proxy: A #OrgProjectCallableIfaceProxy.
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
590s # * @error: Return location for error or %NULL.
590s # *
590s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
590s # *
590s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
590s # */
590s # gboolean
590s # org_project_callable_iface_call_simple_method_finish (
590s # OrgProjectCallableIface *proxy,
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GVariant *_ret;
590s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
590s # if (_ret == NULL)
590s # goto _out;
590s # g_variant_get (_ret,
590s # "()");
590s # g_variant_unref (_ret);
590s # _out:
590s # return _ret != NULL;
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_call_simple_method_sync:
590s # * @proxy: A #OrgProjectCallableIfaceProxy.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL.
590s # *
590s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
590s # *
590s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
590s # */
590s # gboolean
590s # org_project_callable_iface_call_simple_method_sync (
590s # OrgProjectCallableIface *proxy,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GVariant *_ret;
590s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
590s # "SimpleMethod",
590s # g_variant_new ("()"),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # cancellable,
590s # error);
590s # if (_ret == NULL)
590s # goto _out;
590s # g_variant_get (_ret,
590s # "()");
590s # g_variant_unref (_ret);
590s # _out:
590s # return _ret != NULL;
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_complete_simple_method:
590s # * @object: A #OrgProjectCallableIface.
590s # * @invocation: (transfer full): A #GDBusMethodInvocation.
590s # *
590s # * 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.
590s # *
590s # * This method will free @invocation, you cannot use it afterwards.
590s # */
590s # void
590s # org_project_callable_iface_complete_simple_method (
590s # OrgProjectCallableIface *object G_GNUC_UNUSED,
590s # GDBusMethodInvocation *invocation)
590s # {
590s # g_dbus_method_invocation_return_value (invocation,
590s # g_variant_new ("()"));
590s # }
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * OrgProjectCallableIfaceProxy:
590s # *
590s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * OrgProjectCallableIfaceProxyClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for #OrgProjectCallableIfaceProxy.
590s # */
590s #
590s # struct _OrgProjectCallableIfaceProxyPrivate
590s # {
590s # GData *qdata;
590s # };
590s #
590s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
590s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
590s #
590s # #endif
590s # static void
590s # org_project_callable_iface_proxy_finalize (GObject *object)
590s # {
590s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
590s # g_datalist_clear (&proxy->priv->qdata);
590s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
590s # guint prop_id G_GNUC_UNUSED,
590s # GValue *value G_GNUC_UNUSED,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
590s # guint prop_id G_GNUC_UNUSED,
590s # const GValue *value G_GNUC_UNUSED,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
590s # const gchar *sender_name G_GNUC_UNUSED,
590s # const gchar *signal_name,
590s # GVariant *parameters)
590s # {
590s # _ExtendedGDBusSignalInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # gsize n;
590s # guint signal_id;
590s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
590s # if (info == NULL)
590s # return;
590s # num_params = g_variant_n_children (parameters);
590s # paramv = g_new0 (GValue, num_params + 1);
590s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
590s # g_value_set_object (¶mv[0], proxy);
590s # g_variant_iter_init (&iter, parameters);
590s # n = 1;
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
590s # g_signal_emitv (paramv, signal_id, 0, NULL);
590s # for (n = 0; n < num_params + 1; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
590s # GVariant *changed_properties,
590s # const gchar *const *invalidated_properties)
590s # {
590s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
590s # guint n;
590s # const gchar *key;
590s # GVariantIter *iter;
590s # _ExtendedGDBusPropertyInfo *info;
590s # g_variant_get (changed_properties, "a{sv}", &iter);
590s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
590s # g_datalist_remove_data (&proxy->priv->qdata, key);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # g_variant_iter_free (iter);
590s # for (n = 0; invalidated_properties[n] != NULL; n++)
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
590s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
590s # #else
590s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
590s # #endif
590s #
590s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusProxyClass *proxy_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
590s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
590s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
590s #
590s # proxy_class = G_DBUS_PROXY_CLASS (klass);
590s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
590s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
590s # *
590s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # org_project_callable_iface_proxy_new (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with org_project_callable_iface_proxy_new().
590s # *
590s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectCallableIface *
590s # org_project_callable_iface_proxy_new_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return ORG_PROJECT_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new_sync:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectCallableIface *
590s # org_project_callable_iface_proxy_new_sync (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return ORG_PROJECT_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new_for_bus:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
590s # *
590s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # org_project_callable_iface_proxy_new_for_bus (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new_for_bus_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
590s # *
590s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectCallableIface *
590s # org_project_callable_iface_proxy_new_for_bus_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return ORG_PROJECT_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_proxy_new_for_bus_sync:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectCallableIface *
590s # org_project_callable_iface_proxy_new_for_bus_sync (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return ORG_PROJECT_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * OrgProjectCallableIfaceSkeleton:
590s # *
590s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * OrgProjectCallableIfaceSkeletonClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for #OrgProjectCallableIfaceSkeleton.
590s # */
590s #
590s # struct _OrgProjectCallableIfaceSkeletonPrivate
590s # {
590s # GValue *properties;
590s # GList *changed_properties;
590s # GSource *changed_properties_idle_source;
590s # GMainContext *context;
590s # GMutex lock;
590s # };
590s #
590s # static void
590s # _org_project_callable_iface_skeleton_handle_method_call (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name,
590s # const gchar *method_name,
590s # GVariant *parameters,
590s # GDBusMethodInvocation *invocation,
590s # gpointer user_data)
590s # {
590s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
590s # _ExtendedGDBusMethodInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # guint num_extra;
590s # gsize n;
590s # guint signal_id;
590s # GValue return_value = G_VALUE_INIT;
590s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
590s # g_assert (info != NULL);
590s # num_params = g_variant_n_children (parameters);
590s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
590s # n = 0;
590s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
590s # g_value_set_object (¶mv[n++], skeleton);
590s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
590s # g_value_set_object (¶mv[n++], invocation);
590s # if (info->pass_fdlist)
590s # {
590s # #ifdef G_OS_UNIX
590s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
590s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
590s # #else
590s # g_assert_not_reached ();
590s # #endif
590s # }
590s # g_variant_iter_init (&iter, parameters);
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
590s # g_value_init (&return_value, G_TYPE_BOOLEAN);
590s # g_signal_emitv (paramv, signal_id, 0, &return_value);
590s # if (!g_value_get_boolean (&return_value))
590s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
590s # g_value_unset (&return_value);
590s # for (n = 0; n < num_params + num_extra; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static GVariant *
590s # _org_project_callable_iface_skeleton_handle_get_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # GVariant *ret;
590s # ret = NULL;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # g_value_init (&value, pspec->value_type);
590s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_value_unset (&value);
590s # }
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _org_project_callable_iface_skeleton_handle_set_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GVariant *variant,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # gboolean ret;
590s # ret = FALSE;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # if (info->use_gvariant)
590s # g_value_set_variant (&value, variant);
590s # else
590s # g_dbus_gvariant_to_gvalue (variant, &value);
590s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # g_value_unset (&value);
590s # ret = TRUE;
590s # }
590s # return ret;
590s # }
590s #
590s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
590s # {
590s # _org_project_callable_iface_skeleton_handle_method_call,
590s # _org_project_callable_iface_skeleton_handle_get_property,
590s # _org_project_callable_iface_skeleton_handle_set_property,
590s # {NULL}
590s # };
590s #
590s # static GDBusInterfaceInfo *
590s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return org_project_callable_iface_interface_info ();
590s # }
590s #
590s # static GDBusInterfaceVTable *
590s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
590s # }
590s #
590s # static GVariant *
590s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
590s #
590s # GVariantBuilder builder;
590s # guint n;
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #else
590s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #endif
590s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
590s # goto out;
590s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
590s # {
590s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
590s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
590s # {
590s # GVariant *value;
590s # 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);
590s # if (value != NULL)
590s # {
590s # g_variant_take_ref (value);
590s # g_variant_builder_add (&builder, "{sv}", info->name, value);
590s # g_variant_unref (value);
590s # }
590s # }
590s # }
590s # out:
590s # return g_variant_builder_end (&builder);
590s # }
590s #
590s # static void
590s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
590s #
590s # #endif
590s # static void
590s # org_project_callable_iface_skeleton_finalize (GObject *object)
590s # {
590s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # g_main_context_unref (skeleton->priv->context);
590s # g_mutex_clear (&skeleton->priv->lock);
590s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
590s # #else
590s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
590s # #endif
590s #
590s # g_mutex_init (&skeleton->priv->lock);
590s # skeleton->priv->context = g_main_context_ref_thread_default ();
590s # }
590s #
590s # static void
590s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusInterfaceSkeletonClass *skeleton_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
590s #
590s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
590s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
590s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
590s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
590s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # /**
590s # * org_project_callable_iface_skeleton_new:
590s # *
590s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
590s # *
590s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
590s # */
590s # OrgProjectCallableIface *
590s # org_project_callable_iface_skeleton_new (void)
590s # {
590s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
590s # }
590s #
590s # /* ------------------------------------------------------------------------
590s # * Code for interface org.project.OtherCallableIface
590s # * ------------------------------------------------------------------------
590s # */
590s #
590s # /**
590s # * SECTION:OrgProjectOtherCallableIface
590s # * @title: OrgProjectOtherCallableIface
590s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
590s # *
590s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
590s # */
590s #
590s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
590s #
590s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
590s # {
590s # {
590s # -1,
590s # (gchar *) "SimpleMethod",
590s # NULL,
590s # NULL,
590s # NULL
590s # },
590s # "handle-simple-method",
590s # FALSE
590s # };
590s #
590s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
590s # {
590s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
590s # NULL
590s # };
590s #
590s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
590s # {
590s # {
590s # -1,
590s # (gchar *) "org.project.OtherCallableIface",
590s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
590s # NULL,
590s # NULL,
590s # NULL
590s # },
590s # "org-project-other-callable-iface",
590s # };
590s #
590s #
590s # /**
590s # * org_project_other_callable_iface_interface_info:
590s # *
590s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
590s # *
590s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
590s # */
590s # GDBusInterfaceInfo *
590s # org_project_other_callable_iface_interface_info (void)
590s # {
590s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_override_properties:
590s # * @klass: The class structure for a #GObject derived class.
590s # * @property_id_begin: The property id to assign to the first overridden property.
590s # *
590s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
590s # * The properties are overridden in the order they are defined.
590s # *
590s # * Returns: The last property id.
590s # */
590s # guint
590s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
590s # {
590s # return property_id_begin - 1;
590s # }
590s #
590s #
590s # inline static void
590s # org_project_other_callable_iface_method_marshal_simple_method (
590s # GClosure *closure,
590s # GValue *return_value,
590s # unsigned int n_param_values,
590s # const GValue *param_values,
590s # void *invocation_hint,
590s # void *marshal_data)
590s # {
590s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
590s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
590s # }
590s #
590s #
590s # /**
590s # * OrgProjectOtherCallableIface:
590s # *
590s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
590s # */
590s #
590s # /**
590s # * OrgProjectOtherCallableIfaceIface:
590s # * @parent_iface: The parent interface.
590s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
590s # *
590s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
590s # */
590s #
590s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
590s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
590s #
590s # static void
590s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
590s # {
590s # /* GObject signals for incoming D-Bus method calls: */
590s # /**
590s # * OrgProjectOtherCallableIface::handle-simple-method:
590s # * @object: A #OrgProjectOtherCallableIface.
590s # * @invocation: A #GDBusMethodInvocation.
590s # *
590s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
590s # *
590s # * 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.
590s # *
590s # * 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.
590s # */
590s # g_signal_new ("handle-simple-method",
590s # G_TYPE_FROM_INTERFACE (iface),
590s # G_SIGNAL_RUN_LAST,
590s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
590s # g_signal_accumulator_true_handled,
590s # NULL,
590s # org_project_other_callable_iface_method_marshal_simple_method,
590s # G_TYPE_BOOLEAN,
590s # 1,
590s # G_TYPE_DBUS_METHOD_INVOCATION);
590s #
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_call_simple_method:
590s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
590s # *
590s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
590s # */
590s # void
590s # org_project_other_callable_iface_call_simple_method (
590s # OrgProjectOtherCallableIface *proxy,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
590s # "SimpleMethod",
590s # g_variant_new ("()"),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # cancellable,
590s # callback,
590s # user_data);
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_call_simple_method_finish:
590s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
590s # * @error: Return location for error or %NULL.
590s # *
590s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
590s # *
590s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
590s # */
590s # gboolean
590s # org_project_other_callable_iface_call_simple_method_finish (
590s # OrgProjectOtherCallableIface *proxy,
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GVariant *_ret;
590s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
590s # if (_ret == NULL)
590s # goto _out;
590s # g_variant_get (_ret,
590s # "()");
590s # g_variant_unref (_ret);
590s # _out:
590s # return _ret != NULL;
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_call_simple_method_sync:
590s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL.
590s # *
590s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
590s # *
590s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
590s # */
590s # gboolean
590s # org_project_other_callable_iface_call_simple_method_sync (
590s # OrgProjectOtherCallableIface *proxy,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GVariant *_ret;
590s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
590s # "SimpleMethod",
590s # g_variant_new ("()"),
590s # G_DBUS_CALL_FLAGS_NONE,
590s # -1,
590s # cancellable,
590s # error);
590s # if (_ret == NULL)
590s # goto _out;
590s # g_variant_get (_ret,
590s # "()");
590s # g_variant_unref (_ret);
590s # _out:
590s # return _ret != NULL;
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_complete_simple_method:
590s # * @object: A #OrgProjectOtherCallableIface.
590s # * @invocation: (transfer full): A #GDBusMethodInvocation.
590s # *
590s # * 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.
590s # *
590s # * This method will free @invocation, you cannot use it afterwards.
590s # */
590s # void
590s # org_project_other_callable_iface_complete_simple_method (
590s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
590s # GDBusMethodInvocation *invocation)
590s # {
590s # g_dbus_method_invocation_return_value (invocation,
590s # g_variant_new ("()"));
590s # }
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * OrgProjectOtherCallableIfaceProxy:
590s # *
590s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * OrgProjectOtherCallableIfaceProxyClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
590s # */
590s #
590s # struct _OrgProjectOtherCallableIfaceProxyPrivate
590s # {
590s # GData *qdata;
590s # };
590s #
590s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
590s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
590s #
590s # #endif
590s # static void
590s # org_project_other_callable_iface_proxy_finalize (GObject *object)
590s # {
590s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
590s # g_datalist_clear (&proxy->priv->qdata);
590s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
590s # guint prop_id G_GNUC_UNUSED,
590s # GValue *value G_GNUC_UNUSED,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
590s # guint prop_id G_GNUC_UNUSED,
590s # const GValue *value G_GNUC_UNUSED,
590s # GParamSpec *pspec G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
590s # const gchar *sender_name G_GNUC_UNUSED,
590s # const gchar *signal_name,
590s # GVariant *parameters)
590s # {
590s # _ExtendedGDBusSignalInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # gsize n;
590s # guint signal_id;
590s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
590s # if (info == NULL)
590s # return;
590s # num_params = g_variant_n_children (parameters);
590s # paramv = g_new0 (GValue, num_params + 1);
590s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
590s # g_value_set_object (¶mv[0], proxy);
590s # g_variant_iter_init (&iter, parameters);
590s # n = 1;
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
590s # g_signal_emitv (paramv, signal_id, 0, NULL);
590s # for (n = 0; n < num_params + 1; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
590s # GVariant *changed_properties,
590s # const gchar *const *invalidated_properties)
590s # {
590s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
590s # guint n;
590s # const gchar *key;
590s # GVariantIter *iter;
590s # _ExtendedGDBusPropertyInfo *info;
590s # g_variant_get (changed_properties, "a{sv}", &iter);
590s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
590s # g_datalist_remove_data (&proxy->priv->qdata, key);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # g_variant_iter_free (iter);
590s # for (n = 0; invalidated_properties[n] != NULL; n++)
590s # {
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
590s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
590s # if (info != NULL)
590s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
590s # }
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
590s # #else
590s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
590s # #endif
590s #
590s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusProxyClass *proxy_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
590s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
590s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
590s #
590s # proxy_class = G_DBUS_PROXY_CLASS (klass);
590s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
590s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
590s # *
590s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # org_project_other_callable_iface_proxy_new (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
590s # *
590s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectOtherCallableIface *
590s # org_project_other_callable_iface_proxy_new_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new_sync:
590s # * @connection: A #GDBusConnection.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectOtherCallableIface *
590s # org_project_other_callable_iface_proxy_new_sync (
590s # GDBusConnection *connection,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new_for_bus:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
590s # * @user_data: User data to pass to @callback.
590s # *
590s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
590s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
590s # *
590s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
590s # */
590s # void
590s # org_project_other_callable_iface_proxy_new_for_bus (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GAsyncReadyCallback callback,
590s # gpointer user_data)
590s # {
590s # 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);
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
590s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
590s # * @error: Return location for error or %NULL
590s # *
590s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
590s # *
590s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectOtherCallableIface *
590s # org_project_other_callable_iface_proxy_new_for_bus_finish (
590s # GAsyncResult *res,
590s # GError **error)
590s # {
590s # GObject *ret;
590s # GObject *source_object;
590s # source_object = g_async_result_get_source_object (res);
590s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
590s # g_object_unref (source_object);
590s # if (ret != NULL)
590s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
590s # * @bus_type: A #GBusType.
590s # * @flags: Flags from the #GDBusProxyFlags enumeration.
590s # * @name: A bus name (well-known or unique).
590s # * @object_path: An object path.
590s # * @cancellable: (nullable): A #GCancellable or %NULL.
590s # * @error: Return location for error or %NULL
590s # *
590s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
590s # *
590s # * The calling thread is blocked until a reply is received.
590s # *
590s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
590s # *
590s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
590s # */
590s # OrgProjectOtherCallableIface *
590s # org_project_other_callable_iface_proxy_new_for_bus_sync (
590s # GBusType bus_type,
590s # GDBusProxyFlags flags,
590s # const gchar *name,
590s # const gchar *object_path,
590s # GCancellable *cancellable,
590s # GError **error)
590s # {
590s # GInitable *ret;
590s # 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);
590s # if (ret != NULL)
590s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
590s # else
590s # return NULL;
590s # }
590s #
590s #
590s # /* ------------------------------------------------------------------------ */
590s #
590s # /**
590s # * OrgProjectOtherCallableIfaceSkeleton:
590s # *
590s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
590s # */
590s #
590s # /**
590s # * OrgProjectOtherCallableIfaceSkeletonClass:
590s # * @parent_class: The parent class.
590s # *
590s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
590s # */
590s #
590s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
590s # {
590s # GValue *properties;
590s # GList *changed_properties;
590s # GSource *changed_properties_idle_source;
590s # GMainContext *context;
590s # GMutex lock;
590s # };
590s #
590s # static void
590s # _org_project_other_callable_iface_skeleton_handle_method_call (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name,
590s # const gchar *method_name,
590s # GVariant *parameters,
590s # GDBusMethodInvocation *invocation,
590s # gpointer user_data)
590s # {
590s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
590s # _ExtendedGDBusMethodInfo *info;
590s # GVariantIter iter;
590s # GVariant *child;
590s # GValue *paramv;
590s # gsize num_params;
590s # guint num_extra;
590s # gsize n;
590s # guint signal_id;
590s # GValue return_value = G_VALUE_INIT;
590s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
590s # g_assert (info != NULL);
590s # num_params = g_variant_n_children (parameters);
590s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
590s # n = 0;
590s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
590s # g_value_set_object (¶mv[n++], skeleton);
590s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
590s # g_value_set_object (¶mv[n++], invocation);
590s # if (info->pass_fdlist)
590s # {
590s # #ifdef G_OS_UNIX
590s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
590s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
590s # #else
590s # g_assert_not_reached ();
590s # #endif
590s # }
590s # g_variant_iter_init (&iter, parameters);
590s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
590s # {
590s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
590s # if (arg_info->use_gvariant)
590s # {
590s # g_value_init (¶mv[n], G_TYPE_VARIANT);
590s # g_value_set_variant (¶mv[n], child);
590s # n++;
590s # }
590s # else
590s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
590s # g_variant_unref (child);
590s # }
590s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
590s # g_value_init (&return_value, G_TYPE_BOOLEAN);
590s # g_signal_emitv (paramv, signal_id, 0, &return_value);
590s # if (!g_value_get_boolean (&return_value))
590s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
590s # g_value_unset (&return_value);
590s # for (n = 0; n < num_params + num_extra; n++)
590s # g_value_unset (¶mv[n]);
590s # g_free (paramv);
590s # }
590s #
590s # static GVariant *
590s # _org_project_other_callable_iface_skeleton_handle_get_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # GVariant *ret;
590s # ret = NULL;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # g_value_init (&value, pspec->value_type);
590s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
590s # g_value_unset (&value);
590s # }
590s # return ret;
590s # }
590s #
590s # static gboolean
590s # _org_project_other_callable_iface_skeleton_handle_set_property (
590s # GDBusConnection *connection G_GNUC_UNUSED,
590s # const gchar *sender G_GNUC_UNUSED,
590s # const gchar *object_path G_GNUC_UNUSED,
590s # const gchar *interface_name G_GNUC_UNUSED,
590s # const gchar *property_name,
590s # GVariant *variant,
590s # GError **error,
590s # gpointer user_data)
590s # {
590s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
590s # GValue value = G_VALUE_INIT;
590s # GParamSpec *pspec;
590s # _ExtendedGDBusPropertyInfo *info;
590s # gboolean ret;
590s # ret = FALSE;
590s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
590s # g_assert (info != NULL);
590s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
590s # if (pspec == NULL)
590s # {
590s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
590s # }
590s # else
590s # {
590s # if (info->use_gvariant)
590s # g_value_set_variant (&value, variant);
590s # else
590s # g_dbus_gvariant_to_gvalue (variant, &value);
590s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
590s # g_value_unset (&value);
590s # ret = TRUE;
590s # }
590s # return ret;
590s # }
590s #
590s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
590s # {
590s # _org_project_other_callable_iface_skeleton_handle_method_call,
590s # _org_project_other_callable_iface_skeleton_handle_get_property,
590s # _org_project_other_callable_iface_skeleton_handle_set_property,
590s # {NULL}
590s # };
590s #
590s # static GDBusInterfaceInfo *
590s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return org_project_other_callable_iface_interface_info ();
590s # }
590s #
590s # static GDBusInterfaceVTable *
590s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
590s # {
590s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
590s # }
590s #
590s # static GVariant *
590s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
590s # {
590s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
590s #
590s # GVariantBuilder builder;
590s # guint n;
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
590s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #else
590s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
590s # #endif
590s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
590s # goto out;
590s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
590s # {
590s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
590s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
590s # {
590s # GVariant *value;
590s # 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);
590s # if (value != NULL)
590s # {
590s # g_variant_take_ref (value);
590s # g_variant_builder_add (&builder, "{sv}", info->name, value);
590s # g_variant_unref (value);
590s # }
590s # }
590s # }
590s # out:
590s # return g_variant_builder_end (&builder);
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
590s #
590s # #else
590s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
590s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
590s #
590s # #endif
590s # static void
590s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
590s # {
590s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
590s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
590s # if (skeleton->priv->changed_properties_idle_source != NULL)
590s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
590s # g_main_context_unref (skeleton->priv->context);
590s # g_mutex_clear (&skeleton->priv->lock);
590s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
590s # {
590s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
590s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
590s # #else
590s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
590s # #endif
590s #
590s # g_mutex_init (&skeleton->priv->lock);
590s # skeleton->priv->context = g_main_context_ref_thread_default ();
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
590s # {
590s # GObjectClass *gobject_class;
590s # GDBusInterfaceSkeletonClass *skeleton_class;
590s #
590s # gobject_class = G_OBJECT_CLASS (klass);
590s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
590s #
590s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
590s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
590s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
590s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
590s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
590s #
590s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
590s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
590s # #endif
590s # }
590s #
590s # static void
590s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
590s # {
590s # }
590s #
590s # /**
590s # * org_project_other_callable_iface_skeleton_new:
590s # *
590s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
590s # *
590s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
590s # */
590s # OrgProjectOtherCallableIface *
590s # org_project_other_callable_iface_skeleton_new (void)
590s # {
590s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
590s # }
590s # Error:
591s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
591s # gdbus-codegen: /usr/bin/gdbus-codegen
591s # tmpdir: /tmp/tmpgiiosr24
591s # /tmp/tmpgiiosr24/tmpt15ljj6_.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpt15ljj6_.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # gboolean arg_arg_b,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_boolean (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_b",
591s # (gchar *) "b",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodB",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-b",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_b (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_b: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-b",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_b,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_b: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_b (
591s # OrgProjectUsefulInterface *proxy,
591s # gboolean arg_arg_b,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodB",
591s # g_variant_new ("(b)",
591s # arg_arg_b),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_b_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_b: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_b_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gboolean arg_arg_b,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodB",
591s # g_variant_new ("(b)",
591s # arg_arg_b),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_b:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_b (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpzttmy13w.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpzttmy13w.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # guchar arg_arg_y,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_uchar (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_y",
591s # (gchar *) "y",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodY",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-y",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_y (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_y: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-y",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_y,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_y: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_y (
591s # OrgProjectUsefulInterface *proxy,
591s # guchar arg_arg_y,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodY",
591s # g_variant_new ("(y)",
591s # arg_arg_y),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_y_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_y: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_y_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guchar arg_arg_y,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodY",
591s # g_variant_new ("(y)",
591s # arg_arg_y),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_y:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_y (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpdnsay57t.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpdnsay57t.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # gint16 arg_arg_n,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_int (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_n",
591s # (gchar *) "n",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodN",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-n",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_n (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_n: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-n",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_n,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_n: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_n (
591s # OrgProjectUsefulInterface *proxy,
591s # gint16 arg_arg_n,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodN",
591s # g_variant_new ("(n)",
591s # arg_arg_n),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_n_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_n: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_n_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gint16 arg_arg_n,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodN",
591s # g_variant_new ("(n)",
591s # arg_arg_n),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_n:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_n (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp14abb276.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp14abb276.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # guint16 arg_arg_q,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_uint (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_q",
591s # (gchar *) "q",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodQ",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-q",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_q (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_q: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-q",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_q,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_q: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_q (
591s # OrgProjectUsefulInterface *proxy,
591s # guint16 arg_arg_q,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodQ",
591s # g_variant_new ("(q)",
591s # arg_arg_q),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_q_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_q: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_q_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guint16 arg_arg_q,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodQ",
591s # g_variant_new ("(q)",
591s # arg_arg_q),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_q:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_q (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp0ykm2w79.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp0ykm2w79.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # gint arg_arg_i,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_int (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_i",
591s # (gchar *) "i",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodI",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-i",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_i (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_i: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-i",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_i,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_i:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_i: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_i (
591s # OrgProjectUsefulInterface *proxy,
591s # gint arg_arg_i,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodI",
591s # g_variant_new ("(i)",
591s # arg_arg_i),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_i_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_i_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_i_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_i: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_i_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gint arg_arg_i,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodI",
591s # g_variant_new ("(i)",
591s # arg_arg_i),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_i:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_i (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpsws2ob12.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpsws2ob12.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # guint arg_arg_u,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_uint (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_u",
591s # (gchar *) "u",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodU",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-u",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_u (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_u: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-u",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_u,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_u:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_u: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_u (
591s # OrgProjectUsefulInterface *proxy,
591s # guint arg_arg_u,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodU",
591s # g_variant_new ("(u)",
591s # arg_arg_u),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_u_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_u_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_u_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_u: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_u_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guint arg_arg_u,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodU",
591s # g_variant_new ("(u)",
591s # arg_arg_u),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_u:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_u (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp2p2nvlmw.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp2p2nvlmw.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # gint64 arg_arg_x,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_int64 (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_x",
591s # (gchar *) "x",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodX",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-x",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_x (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_x: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-x",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_x,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_x:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_x: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_x (
591s # OrgProjectUsefulInterface *proxy,
591s # gint64 arg_arg_x,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodX",
591s # g_variant_new ("(x)",
591s # arg_arg_x),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_x_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_x_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_x_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_x: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_x_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gint64 arg_arg_x,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodX",
591s # g_variant_new ("(x)",
591s # arg_arg_x),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_x:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_x (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpzx7uxdb3.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpzx7uxdb3.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # guint64 arg_arg_t,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_uint64 (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_t",
591s # (gchar *) "t",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodT",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-t",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_t (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_t: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-t",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_t,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_t:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_t: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_t (
591s # OrgProjectUsefulInterface *proxy,
591s # guint64 arg_arg_t,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodT",
591s # g_variant_new ("(t)",
591s # arg_arg_t),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_t_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_t_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_t_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_t: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_t_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guint64 arg_arg_t,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodT",
591s # g_variant_new ("(t)",
591s # arg_arg_t),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_t:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_t (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpv0w8dlvp.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpv0w8dlvp.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # gdouble arg_arg_d,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_double (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_d",
591s # (gchar *) "d",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodD",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-d",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_d (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_d: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-d",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_d,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_d:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_d: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_d (
591s # OrgProjectUsefulInterface *proxy,
591s # gdouble arg_arg_d,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodD",
591s # g_variant_new ("(d)",
591s # arg_arg_d),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_d_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_d_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_d_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_d: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_d_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gdouble arg_arg_d,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodD",
591s # g_variant_new ("(d)",
591s # arg_arg_d),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_d:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_d (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp36rsfvcq.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp36rsfvcq.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *arg_arg_s,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_string (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_s",
591s # (gchar *) "s",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodS",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-s",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_s (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_s: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-s",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_s,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_s:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_s: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_s (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_s,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodS",
591s # g_variant_new ("(s)",
591s # arg_arg_s),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_s_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_s_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_s_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_s: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_s_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_s,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodS",
591s # g_variant_new ("(s)",
591s # arg_arg_s),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_s:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_s (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpg8a5xxwp.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpg8a5xxwp.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *arg_arg_o,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_string (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_o",
591s # (gchar *) "o",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodO",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-o",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_o (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_o: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-o",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_o,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_o:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_o: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_o (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_o,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodO",
591s # g_variant_new ("(o)",
591s # arg_arg_o),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_o_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_o_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_o_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_o: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_o_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_o,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodO",
591s # g_variant_new ("(o)",
591s # arg_arg_o),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_o:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_o (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp8el8c40u.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp8el8c40u.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *arg_arg_g,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_string (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_g",
591s # (gchar *) "g",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodG",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-g",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_g (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_g: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-g",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_g,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_g:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_g: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_g (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_g,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodG",
591s # g_variant_new ("(g)",
591s # arg_arg_g),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_g_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_g_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_g_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_g: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_g_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_g,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodG",
591s # g_variant_new ("(g)",
591s # arg_arg_g),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_g:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_g (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmphwbb_rzu.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmphwbb_rzu.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # GVariant *arg_arg_h,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_variant (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_h",
591s # (gchar *) "h",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodH",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-h",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_h (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_h: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-h",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_h,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_h:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_h: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_h (
591s # OrgProjectUsefulInterface *proxy,
591s # GVariant *arg_arg_h,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodH",
591s # g_variant_new ("(@h)",
591s # arg_arg_h),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_h_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_h_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_h_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_h: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_h_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # GVariant *arg_arg_h,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodH",
591s # g_variant_new ("(@h)",
591s # arg_arg_h),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_h:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_h (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp3hluj28s.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp3hluj28s.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *arg_arg_ay,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_string (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_ay",
591s # (gchar *) "ay",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodAy",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-ay",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_ay (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_ay: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-ay",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_ay,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ay:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_ay: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_ay (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_ay,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAy",
591s # g_variant_new ("(^ay)",
591s # arg_arg_ay),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ay_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_ay_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ay_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_ay: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_ay_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *arg_arg_ay,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAy",
591s # g_variant_new ("(^ay)",
591s # arg_arg_ay),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_ay:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_ay (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp1wlvkxax.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp1wlvkxax.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *const *arg_arg_as,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_boxed (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_as",
591s # (gchar *) "as",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodAs",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-as",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_as (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_as: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-as",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_as,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_as:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_as: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_as (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_as,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAs",
591s # g_variant_new ("(^as)",
591s # arg_arg_as),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_as_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_as_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_as_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_as: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_as_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_as,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAs",
591s # g_variant_new ("(^as)",
591s # arg_arg_as),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_as:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_as (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmp5lzmvoea.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmp5lzmvoea.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *const *arg_arg_ao,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_boxed (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_ao",
591s # (gchar *) "ao",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodAo",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-ao",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_ao (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_ao: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-ao",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_ao,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ao:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_ao: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_ao (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_ao,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAo",
591s # g_variant_new ("(^ao)",
591s # arg_arg_ao),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ao_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_ao_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_ao_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_ao: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_ao_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_ao,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAo",
591s # g_variant_new ("(^ao)",
591s # arg_arg_ao),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_ao:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_ao (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmpum974pi3.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmpum974pi3.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # const gchar *const *arg_arg_aay,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_boxed (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_aay",
591s # (gchar *) "aay",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodAay",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-aay",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_aay (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_aay: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-aay",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_aay,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_aay:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_aay: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_aay (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_aay,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAay",
591s # g_variant_new ("(^aay)",
591s # arg_arg_aay),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_aay_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_aay_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_aay_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_aay: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_aay_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # const gchar *const *arg_arg_aay,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAay",
591s # g_variant_new ("(^aay)",
591s # arg_arg_aay),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_aay:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_aay (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpgiiosr24/tmps9q0elkd.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgiiosr24/tmps9q0elkd.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # GVariant *arg_arg_asv,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 3);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # g_marshal_value_peek_variant (param_values + 2),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_asv",
591s # (gchar *) "a{sv}",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodAsv",
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
591s # NULL,
591s # NULL
591s # },
591s # "handle-single-arg-method-asv",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_asv (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # * @arg_arg_asv: Argument passed by remote caller.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-asv",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_asv,
591s # G_TYPE_BOOLEAN,
591s # 2,
591s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_asv:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_asv: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_asv (
591s # OrgProjectUsefulInterface *proxy,
591s # GVariant *arg_arg_asv,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAsv",
591s # g_variant_new ("(@a{sv})",
591s # arg_arg_asv),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_asv_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_asv_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_asv_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @arg_arg_asv: Argument to pass with the method invocation.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_asv_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # GVariant *arg_arg_asv,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodAsv",
591s # g_variant_new ("(@a{sv})",
591s # arg_arg_asv),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "()");
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_asv:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_asv (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("()"));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
591s # gdbus-codegen: /usr/bin/gdbus-codegen
591s # tmpdir: /tmp/tmpsye1t_jq
591s # /tmp/tmpsye1t_jq/tmplvz9tdz7.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmplvz9tdz7.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 2);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_b",
591s # (gchar *) "b",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodB",
591s # NULL,
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
591s # NULL
591s # },
591s # "handle-single-arg-method-b",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_b (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-b",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_b,
591s # G_TYPE_BOOLEAN,
591s # 1,
591s # G_TYPE_DBUS_METHOD_INVOCATION);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_b (
591s # OrgProjectUsefulInterface *proxy,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodB",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_b_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # gboolean *out_arg_b,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(b)",
591s # out_arg_b);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_b_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_b_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gboolean *out_arg_b,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodB",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(b)",
591s # out_arg_b);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_b:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # * @arg_b: Parameter to return.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_b (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation,
591s # gboolean arg_b)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("(b)",
591s # arg_b));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpsye1t_jq/tmpmv96niku.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpmv96niku.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 2);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_y",
591s # (gchar *) "y",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodY",
591s # NULL,
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
591s # NULL
591s # },
591s # "handle-single-arg-method-y",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_y (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-y",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_y,
591s # G_TYPE_BOOLEAN,
591s # 1,
591s # G_TYPE_DBUS_METHOD_INVOCATION);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_y (
591s # OrgProjectUsefulInterface *proxy,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodY",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_y_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # guchar *out_arg_y,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(y)",
591s # out_arg_y);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_y_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_y_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guchar *out_arg_y,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodY",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(y)",
591s # out_arg_y);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_y:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # * @arg_y: Parameter to return.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_y (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation,
591s # guchar arg_y)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("(y)",
591s # arg_y));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpsye1t_jq/tmppevp73_9.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmppevp73_9.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 2);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_n",
591s # (gchar *) "n",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodN",
591s # NULL,
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
591s # NULL
591s # },
591s # "handle-single-arg-method-n",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_n (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-n",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_n,
591s # G_TYPE_BOOLEAN,
591s # 1,
591s # G_TYPE_DBUS_METHOD_INVOCATION);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_n (
591s # OrgProjectUsefulInterface *proxy,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodN",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_n_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # gint16 *out_arg_n,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(n)",
591s # out_arg_n);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_n_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_n_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # gint16 *out_arg_n,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodN",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(n)",
591s # out_arg_n);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_n:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # * @arg_n: Parameter to return.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_n (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation,
591s # gint16 arg_n)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("(n)",
591s # arg_n));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
591s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_skeleton_new (void)
591s # {
591s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
591s # }
591s # Error:
591s #
591s # /tmp/tmpsye1t_jq/tmp1i0az2u5.xml:
591s #
591s #
591s #
591s #
591s #
591s #
591s #
591s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp1i0az2u5.xml', '--output', '-', '--body']
591s # Return code: 0
591s # Output:
591s # /*
591s # * This file is generated by gdbus-codegen, do not modify it.
591s # *
591s # * The license of this code is the same as for the D-Bus interface description
591s # * it was derived from. Note that it links to GLib, so must comply with the
591s # * LGPL linking clauses.
591s # */
591s #
591s # #ifdef HAVE_CONFIG_H
591s # # include "config.h"
591s # #endif
591s #
591s # #include
591s # #ifdef G_OS_UNIX
591s # # include
591s # #endif
591s #
591s # #ifdef G_ENABLE_DEBUG
591s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
591s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
591s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
591s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
591s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
591s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
591s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
591s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
591s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
591s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
591s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
591s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
591s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
591s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
591s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
591s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
591s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
591s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
591s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
591s # #else /* !G_ENABLE_DEBUG */
591s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
591s # * Do not access GValues directly in your code. Instead, use the
591s # * g_value_get_*() functions
591s # */
591s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
591s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
591s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
591s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
591s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
591s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
591s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
591s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
591s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
591s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
591s # #endif /* !G_ENABLE_DEBUG */
591s #
591s # typedef struct
591s # {
591s # GDBusArgInfo parent_struct;
591s # gboolean use_gvariant;
591s # } _ExtendedGDBusArgInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusMethodInfo parent_struct;
591s # const gchar *signal_name;
591s # gboolean pass_fdlist;
591s # } _ExtendedGDBusMethodInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusSignalInfo parent_struct;
591s # const gchar *signal_name;
591s # } _ExtendedGDBusSignalInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusPropertyInfo parent_struct;
591s # const gchar *hyphen_name;
591s # guint use_gvariant : 1;
591s # guint emits_changed_signal : 1;
591s # } _ExtendedGDBusPropertyInfo;
591s #
591s # typedef struct
591s # {
591s # GDBusInterfaceInfo parent_struct;
591s # const gchar *hyphen_name;
591s # } _ExtendedGDBusInterfaceInfo;
591s #
591s # typedef struct
591s # {
591s # const _ExtendedGDBusPropertyInfo *info;
591s # guint prop_id;
591s # GValue orig_value; /* the value before the change */
591s # } ChangedProperty;
591s #
591s # static void
591s # _changed_property_free (ChangedProperty *data)
591s # {
591s # g_value_unset (&data->orig_value);
591s # g_free (data);
591s # }
591s #
591s # static gboolean
591s # _g_strv_equal0 (gchar **a, gchar **b)
591s # {
591s # gboolean ret = FALSE;
591s # guint n;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # if (g_strv_length (a) != g_strv_length (b))
591s # goto out;
591s # for (n = 0; a[n] != NULL; n++)
591s # if (g_strcmp0 (a[n], b[n]) != 0)
591s # goto out;
591s # ret = TRUE;
591s # out:
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _g_variant_equal0 (GVariant *a, GVariant *b)
591s # {
591s # gboolean ret = FALSE;
591s # if (a == NULL && b == NULL)
591s # {
591s # ret = TRUE;
591s # goto out;
591s # }
591s # if (a == NULL || b == NULL)
591s # goto out;
591s # ret = g_variant_equal (a, b);
591s # out:
591s # return ret;
591s # }
591s #
591s # G_GNUC_UNUSED static gboolean
591s # _g_value_equal (const GValue *a, const GValue *b)
591s # {
591s # gboolean ret = FALSE;
591s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
591s # switch (G_VALUE_TYPE (a))
591s # {
591s # case G_TYPE_BOOLEAN:
591s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
591s # break;
591s # case G_TYPE_UCHAR:
591s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
591s # break;
591s # case G_TYPE_INT:
591s # ret = (g_value_get_int (a) == g_value_get_int (b));
591s # break;
591s # case G_TYPE_UINT:
591s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
591s # break;
591s # case G_TYPE_INT64:
591s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
591s # break;
591s # case G_TYPE_UINT64:
591s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
591s # break;
591s # case G_TYPE_DOUBLE:
591s # {
591s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
591s # gdouble da = g_value_get_double (a);
591s # gdouble db = g_value_get_double (b);
591s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
591s # }
591s # break;
591s # case G_TYPE_STRING:
591s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
591s # break;
591s # case G_TYPE_VARIANT:
591s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
591s # break;
591s # default:
591s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
591s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
591s # else
591s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
591s # break;
591s # }
591s # return ret;
591s # }
591s #
591s # static void
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint G_GNUC_UNUSED,
591s # void *marshal_data)
591s # {
591s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (void *data1,
591s # GDBusMethodInvocation *arg_method_invocation,
591s # void *data2);
591s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
591s # GCClosure *cc = (GCClosure*) closure;
591s # void *data1, *data2;
591s # gboolean v_return;
591s #
591s # g_return_if_fail (return_value != NULL);
591s # g_return_if_fail (n_param_values == 2);
591s #
591s # if (G_CCLOSURE_SWAP_DATA (closure))
591s # {
591s # data1 = closure->data;
591s # data2 = g_value_peek_pointer (param_values + 0);
591s # }
591s # else
591s # {
591s # data1 = g_value_peek_pointer (param_values + 0);
591s # data2 = closure->data;
591s # }
591s #
591s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
591s # (marshal_data ? marshal_data : cc->callback);
591s #
591s # v_return =
591s # callback (data1,
591s # g_marshal_value_peek_object (param_values + 1),
591s # data2);
591s #
591s # g_value_set_boolean (return_value, v_return);
591s # }
591s #
591s # /* ------------------------------------------------------------------------
591s # * Code for interface org.project.UsefulInterface
591s # * ------------------------------------------------------------------------
591s # */
591s #
591s # /**
591s # * SECTION:OrgProjectUsefulInterface
591s # * @title: OrgProjectUsefulInterface
591s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
591s # *
591s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
591s # */
591s #
591s # /* ---- Introspection data for org.project.UsefulInterface ---- */
591s #
591s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
591s # {
591s # {
591s # -1,
591s # (gchar *) "arg_q",
591s # (gchar *) "q",
591s # NULL
591s # },
591s # FALSE
591s # };
591s #
591s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
591s # {
591s # {
591s # -1,
591s # (gchar *) "SingleArgMethodQ",
591s # NULL,
591s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
591s # NULL
591s # },
591s # "handle-single-arg-method-q",
591s # FALSE
591s # };
591s #
591s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
591s # {
591s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
591s # NULL
591s # };
591s #
591s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
591s # {
591s # {
591s # -1,
591s # (gchar *) "org.project.UsefulInterface",
591s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
591s # NULL,
591s # NULL,
591s # NULL
591s # },
591s # "org-project-useful-interface",
591s # };
591s #
591s #
591s # /**
591s # * org_project_useful_interface_interface_info:
591s # *
591s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
591s # *
591s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
591s # */
591s # GDBusInterfaceInfo *
591s # org_project_useful_interface_interface_info (void)
591s # {
591s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_override_properties:
591s # * @klass: The class structure for a #GObject derived class.
591s # * @property_id_begin: The property id to assign to the first overridden property.
591s # *
591s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
591s # * The properties are overridden in the order they are defined.
591s # *
591s # * Returns: The last property id.
591s # */
591s # guint
591s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
591s # {
591s # return property_id_begin - 1;
591s # }
591s #
591s #
591s # inline static void
591s # org_project_useful_interface_method_marshal_single_arg_method_q (
591s # GClosure *closure,
591s # GValue *return_value,
591s # unsigned int n_param_values,
591s # const GValue *param_values,
591s # void *invocation_hint,
591s # void *marshal_data)
591s # {
591s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
591s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
591s # }
591s #
591s #
591s # /**
591s # * OrgProjectUsefulInterface:
591s # *
591s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceIface:
591s # * @parent_iface: The parent interface.
591s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
591s # *
591s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
591s # */
591s #
591s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
591s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
591s #
591s # static void
591s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
591s # {
591s # /* GObject signals for incoming D-Bus method calls: */
591s # /**
591s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: A #GDBusMethodInvocation.
591s # *
591s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
591s # *
591s # * 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.
591s # *
591s # * 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.
591s # */
591s # g_signal_new ("handle-single-arg-method-q",
591s # G_TYPE_FROM_INTERFACE (iface),
591s # G_SIGNAL_RUN_LAST,
591s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
591s # g_signal_accumulator_true_handled,
591s # NULL,
591s # org_project_useful_interface_method_marshal_single_arg_method_q,
591s # G_TYPE_BOOLEAN,
591s # 1,
591s # G_TYPE_DBUS_METHOD_INVOCATION);
591s #
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
591s # */
591s # void
591s # org_project_useful_interface_call_single_arg_method_q (
591s # OrgProjectUsefulInterface *proxy,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodQ",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # callback,
591s # user_data);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q_finish:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_q_finish (
591s # OrgProjectUsefulInterface *proxy,
591s # guint16 *out_arg_q,
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(q)",
591s # out_arg_q);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_call_single_arg_method_q_sync:
591s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
591s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL.
591s # *
591s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
591s # *
591s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
591s # */
591s # gboolean
591s # org_project_useful_interface_call_single_arg_method_q_sync (
591s # OrgProjectUsefulInterface *proxy,
591s # guint16 *out_arg_q,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GVariant *_ret;
591s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
591s # "SingleArgMethodQ",
591s # g_variant_new ("()"),
591s # G_DBUS_CALL_FLAGS_NONE,
591s # -1,
591s # cancellable,
591s # error);
591s # if (_ret == NULL)
591s # goto _out;
591s # g_variant_get (_ret,
591s # "(q)",
591s # out_arg_q);
591s # g_variant_unref (_ret);
591s # _out:
591s # return _ret != NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_complete_single_arg_method_q:
591s # * @object: A #OrgProjectUsefulInterface.
591s # * @invocation: (transfer full): A #GDBusMethodInvocation.
591s # * @arg_q: Parameter to return.
591s # *
591s # * 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.
591s # *
591s # * This method will free @invocation, you cannot use it afterwards.
591s # */
591s # void
591s # org_project_useful_interface_complete_single_arg_method_q (
591s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
591s # GDBusMethodInvocation *invocation,
591s # guint16 arg_q)
591s # {
591s # g_dbus_method_invocation_return_value (invocation,
591s # g_variant_new ("(q)",
591s # arg_q));
591s # }
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxy:
591s # *
591s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceProxyClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceProxy.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceProxyPrivate
591s # {
591s # GData *qdata;
591s # };
591s #
591s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_proxy_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
591s # g_datalist_clear (&proxy->priv->qdata);
591s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
591s # guint prop_id G_GNUC_UNUSED,
591s # const GValue *value G_GNUC_UNUSED,
591s # GParamSpec *pspec G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
591s # const gchar *sender_name G_GNUC_UNUSED,
591s # const gchar *signal_name,
591s # GVariant *parameters)
591s # {
591s # _ExtendedGDBusSignalInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # gsize n;
591s # guint signal_id;
591s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
591s # if (info == NULL)
591s # return;
591s # num_params = g_variant_n_children (parameters);
591s # paramv = g_new0 (GValue, num_params + 1);
591s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[0], proxy);
591s # g_variant_iter_init (&iter, parameters);
591s # n = 1;
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_signal_emitv (paramv, signal_id, 0, NULL);
591s # for (n = 0; n < num_params + 1; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
591s # GVariant *changed_properties,
591s # const gchar *const *invalidated_properties)
591s # {
591s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
591s # guint n;
591s # const gchar *key;
591s # GVariantIter *iter;
591s # _ExtendedGDBusPropertyInfo *info;
591s # g_variant_get (changed_properties, "a{sv}", &iter);
591s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
591s # g_datalist_remove_data (&proxy->priv->qdata, key);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # g_variant_iter_free (iter);
591s # for (n = 0; invalidated_properties[n] != NULL; n++)
591s # {
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
591s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
591s # if (info != NULL)
591s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
591s # }
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
591s # #else
591s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
591s # #endif
591s #
591s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusProxyClass *proxy_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
591s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
591s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
591s #
591s # proxy_class = G_DBUS_PROXY_CLASS (klass);
591s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
591s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_sync:
591s # * @connection: A #GDBusConnection.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_sync (
591s # GDBusConnection *connection,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
591s # * @user_data: User data to pass to @callback.
591s # *
591s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
591s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
591s # */
591s # void
591s # org_project_useful_interface_proxy_new_for_bus (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GAsyncReadyCallback callback,
591s # gpointer user_data)
591s # {
591s # g_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);
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_finish:
591s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
591s # * @error: Return location for error or %NULL
591s # *
591s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_finish (
591s # GAsyncResult *res,
591s # GError **error)
591s # {
591s # GObject *ret;
591s # GObject *source_object;
591s # source_object = g_async_result_get_source_object (res);
591s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
591s # g_object_unref (source_object);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_proxy_new_for_bus_sync:
591s # * @bus_type: A #GBusType.
591s # * @flags: Flags from the #GDBusProxyFlags enumeration.
591s # * @name: A bus name (well-known or unique).
591s # * @object_path: An object path.
591s # * @cancellable: (nullable): A #GCancellable or %NULL.
591s # * @error: Return location for error or %NULL
591s # *
591s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
591s # *
591s # * The calling thread is blocked until a reply is received.
591s # *
591s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
591s # *
591s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
591s # */
591s # OrgProjectUsefulInterface *
591s # org_project_useful_interface_proxy_new_for_bus_sync (
591s # GBusType bus_type,
591s # GDBusProxyFlags flags,
591s # const gchar *name,
591s # const gchar *object_path,
591s # GCancellable *cancellable,
591s # GError **error)
591s # {
591s # GInitable *ret;
591s # 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);
591s # if (ret != NULL)
591s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
591s # else
591s # return NULL;
591s # }
591s #
591s #
591s # /* ------------------------------------------------------------------------ */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeleton:
591s # *
591s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
591s # */
591s #
591s # /**
591s # * OrgProjectUsefulInterfaceSkeletonClass:
591s # * @parent_class: The parent class.
591s # *
591s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
591s # */
591s #
591s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
591s # {
591s # GValue *properties;
591s # GList *changed_properties;
591s # GSource *changed_properties_idle_source;
591s # GMainContext *context;
591s # GMutex lock;
591s # };
591s #
591s # static void
591s # _org_project_useful_interface_skeleton_handle_method_call (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name,
591s # const gchar *method_name,
591s # GVariant *parameters,
591s # GDBusMethodInvocation *invocation,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # _ExtendedGDBusMethodInfo *info;
591s # GVariantIter iter;
591s # GVariant *child;
591s # GValue *paramv;
591s # gsize num_params;
591s # guint num_extra;
591s # gsize n;
591s # guint signal_id;
591s # GValue return_value = G_VALUE_INIT;
591s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
591s # g_assert (info != NULL);
591s # num_params = g_variant_n_children (parameters);
591s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
591s # n = 0;
591s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_set_object (¶mv[n++], skeleton);
591s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
591s # g_value_set_object (¶mv[n++], invocation);
591s # if (info->pass_fdlist)
591s # {
591s # #ifdef G_OS_UNIX
591s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
591s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
591s # #else
591s # g_assert_not_reached ();
591s # #endif
591s # }
591s # g_variant_iter_init (&iter, parameters);
591s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
591s # {
591s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
591s # if (arg_info->use_gvariant)
591s # {
591s # g_value_init (¶mv[n], G_TYPE_VARIANT);
591s # g_value_set_variant (¶mv[n], child);
591s # n++;
591s # }
591s # else
591s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
591s # g_variant_unref (child);
591s # }
591s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
591s # g_value_init (&return_value, G_TYPE_BOOLEAN);
591s # g_signal_emitv (paramv, signal_id, 0, &return_value);
591s # if (!g_value_get_boolean (&return_value))
591s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
591s # g_value_unset (&return_value);
591s # for (n = 0; n < num_params + num_extra; n++)
591s # g_value_unset (¶mv[n]);
591s # g_free (paramv);
591s # }
591s #
591s # static GVariant *
591s # _org_project_useful_interface_skeleton_handle_get_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # GVariant *ret;
591s # ret = NULL;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # g_value_init (&value, pspec->value_type);
591s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
591s # g_value_unset (&value);
591s # }
591s # return ret;
591s # }
591s #
591s # static gboolean
591s # _org_project_useful_interface_skeleton_handle_set_property (
591s # GDBusConnection *connection G_GNUC_UNUSED,
591s # const gchar *sender G_GNUC_UNUSED,
591s # const gchar *object_path G_GNUC_UNUSED,
591s # const gchar *interface_name G_GNUC_UNUSED,
591s # const gchar *property_name,
591s # GVariant *variant,
591s # GError **error,
591s # gpointer user_data)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
591s # GValue value = G_VALUE_INIT;
591s # GParamSpec *pspec;
591s # _ExtendedGDBusPropertyInfo *info;
591s # gboolean ret;
591s # ret = FALSE;
591s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
591s # g_assert (info != NULL);
591s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
591s # if (pspec == NULL)
591s # {
591s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
591s # }
591s # else
591s # {
591s # if (info->use_gvariant)
591s # g_value_set_variant (&value, variant);
591s # else
591s # g_dbus_gvariant_to_gvalue (variant, &value);
591s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
591s # g_value_unset (&value);
591s # ret = TRUE;
591s # }
591s # return ret;
591s # }
591s #
591s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
591s # {
591s # _org_project_useful_interface_skeleton_handle_method_call,
591s # _org_project_useful_interface_skeleton_handle_get_property,
591s # _org_project_useful_interface_skeleton_handle_set_property,
591s # {NULL}
591s # };
591s #
591s # static GDBusInterfaceInfo *
591s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return org_project_useful_interface_interface_info ();
591s # }
591s #
591s # static GDBusInterfaceVTable *
591s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
591s # {
591s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
591s # }
591s #
591s # static GVariant *
591s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
591s #
591s # GVariantBuilder builder;
591s # guint n;
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
591s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #else
591s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
591s # #endif
591s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
591s # goto out;
591s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
591s # {
591s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
591s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
591s # {
591s # GVariant *value;
591s # 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);
591s # if (value != NULL)
591s # {
591s # g_variant_take_ref (value);
591s # g_variant_builder_add (&builder, "{sv}", info->name, value);
591s # g_variant_unref (value);
591s # }
591s # }
591s # }
591s # out:
591s # return g_variant_builder_end (&builder);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #else
591s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
591s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
591s #
591s # #endif
591s # static void
591s # org_project_useful_interface_skeleton_finalize (GObject *object)
591s # {
591s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
591s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
591s # if (skeleton->priv->changed_properties_idle_source != NULL)
591s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
591s # g_main_context_unref (skeleton->priv->context);
591s # g_mutex_clear (&skeleton->priv->lock);
591s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
591s # {
591s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
591s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
591s # #else
591s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
591s # #endif
591s #
591s # g_mutex_init (&skeleton->priv->lock);
591s # skeleton->priv->context = g_main_context_ref_thread_default ();
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
591s # {
591s # GObjectClass *gobject_class;
591s # GDBusInterfaceSkeletonClass *skeleton_class;
591s #
591s # gobject_class = G_OBJECT_CLASS (klass);
591s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
591s #
591s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
591s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
591s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
591s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
591s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
591s #
591s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
591s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
591s # #endif
591s # }
591s #
591s # static void
591s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
591s # {
591s # }
591s #
591s # /**
591s # * org_project_useful_interface_skeleton_new:
591s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpo5doturi.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpo5doturi.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodI",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-i",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_i (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-i",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_i,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_i:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_i (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodI",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_i_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_i_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gint *out_arg_i,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(i)",
592s # out_arg_i);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_i_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_i_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gint *out_arg_i,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodI",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(i)",
592s # out_arg_i);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_i:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_i: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_i (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # gint arg_i)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(i)",
592s # arg_i));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpowomq_ac.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpowomq_ac.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodU",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-u",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_u (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-u",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_u,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_u:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_u (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodU",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_u_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_u_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # guint *out_arg_u,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(u)",
592s # out_arg_u);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_u_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_u_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # guint *out_arg_u,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodU",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(u)",
592s # out_arg_u);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_u:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_u: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_u (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # guint arg_u)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(u)",
592s # arg_u));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpyt51db8k.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpyt51db8k.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodX",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-x",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_x (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-x",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_x,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_x:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_x (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodX",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_x_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_x_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gint64 *out_arg_x,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(x)",
592s # out_arg_x);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_x_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_x_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gint64 *out_arg_x,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodX",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(x)",
592s # out_arg_x);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_x:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_x: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_x (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # gint64 arg_x)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(x)",
592s # arg_x));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmp0g5kd5q2.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp0g5kd5q2.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodT",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-t",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_t (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-t",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_t,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_t:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_t (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodT",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_t_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_t_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # guint64 *out_arg_t,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(t)",
592s # out_arg_t);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_t_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_t_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # guint64 *out_arg_t,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodT",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(t)",
592s # out_arg_t);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_t:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_t: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_t (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # guint64 arg_t)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(t)",
592s # arg_t));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmp0fttxijx.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp0fttxijx.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodD",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-d",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_d (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-d",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_d,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_d:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_d (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodD",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_d_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_d_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gdouble *out_arg_d,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(d)",
592s # out_arg_d);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_d_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_d_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gdouble *out_arg_d,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodD",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(d)",
592s # out_arg_d);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_d:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_d: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_d (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # gdouble arg_d)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(d)",
592s # arg_d));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpodggwus2.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpodggwus2.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodS",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-s",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_s (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-s",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_s,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_s:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_s (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodS",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_s_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_s_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_s,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(s)",
592s # out_arg_s);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_s_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_s_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_s,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodS",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(s)",
592s # out_arg_s);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_s:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_s: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_s (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *arg_s)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(s)",
592s # arg_s));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpwemclj4n.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpwemclj4n.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodO",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-o",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_o (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-o",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_o,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_o:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_o (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodO",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_o_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_o_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_o,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(o)",
592s # out_arg_o);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_o_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_o_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_o,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodO",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(o)",
592s # out_arg_o);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_o:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_o: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_o (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *arg_o)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(o)",
592s # arg_o));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpiugmtzju.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpiugmtzju.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodG",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-g",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_g (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-g",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_g,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_g:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_g (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodG",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_g_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_g_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_g,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(g)",
592s # out_arg_g);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_g_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_g_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_g,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodG",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(g)",
592s # out_arg_g);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_g:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_g: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_g (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *arg_g)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(g)",
592s # arg_g));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpqj47tygl.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpqj47tygl.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodH",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-h",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_h (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-h",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_h,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_h:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_h (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodH",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_h_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_h_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # GVariant **out_arg_h,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(@h)",
592s # out_arg_h);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_h_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_h_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # GVariant **out_arg_h,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodH",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(@h)",
592s # out_arg_h);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_h:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_h: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_h (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # GVariant *arg_h)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(@h)",
592s # arg_h));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmpq10m02g5.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmpq10m02g5.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodAy",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-ay",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_ay (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-ay",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_ay,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ay:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_ay (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAy",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ay_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_ay_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_ay,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^ay)",
592s # out_arg_ay);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ay_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_ay_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar **out_arg_ay,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAy",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^ay)",
592s # out_arg_ay);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_ay:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_ay: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_ay (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *arg_ay)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(^ay)",
592s # arg_ay));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmp2cwi2fvk.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp2cwi2fvk.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodAs",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-as",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_as (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-as",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_as,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_as:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_as (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAs",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_as_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_as_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_as,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^as)",
592s # out_arg_as);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_as_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_as_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_as,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAs",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^as)",
592s # out_arg_as);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_as:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_as: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_as (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *const *arg_as)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(^as)",
592s # arg_as));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmp7mlsiabb.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp7mlsiabb.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodAo",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-ao",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_ao (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-ao",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_ao,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ao:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_ao (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAo",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ao_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_ao_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_ao,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^ao)",
592s # out_arg_ao);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_ao_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_ao_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_ao,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAo",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^ao)",
592s # out_arg_ao);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_ao:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_ao: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_ao (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *const *arg_ao)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(^ao)",
592s # arg_ao));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmplhr93pq2.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmplhr93pq2.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodAay",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-aay",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_aay (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-aay",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_aay,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_aay:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_aay (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAay",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_aay_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_aay_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_aay,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^aay)",
592s # out_arg_aay);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_aay_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_aay_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # gchar ***out_arg_aay,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAay",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(^aay)",
592s # out_arg_aay);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_aay:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_aay: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_aay (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # const gchar *const *arg_aay)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(^aay)",
592s # arg_aay));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s #
592s # /tmp/tmpsye1t_jq/tmp3nbe7f4u.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpsye1t_jq/tmp3nbe7f4u.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "arg_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgMethodAsv",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-single-arg-method-asv",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_method_marshal_single_arg_method_asv (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-single-arg-method-asv",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_useful_interface_method_marshal_single_arg_method_asv,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_asv:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_useful_interface_call_single_arg_method_asv (
592s # OrgProjectUsefulInterface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAsv",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_asv_finish:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_asv_finish (
592s # OrgProjectUsefulInterface *proxy,
592s # GVariant **out_arg_asv,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(@a{sv})",
592s # out_arg_asv);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_call_single_arg_method_asv_sync:
592s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
592s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_useful_interface_call_single_arg_method_asv_sync (
592s # OrgProjectUsefulInterface *proxy,
592s # GVariant **out_arg_asv,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SingleArgMethodAsv",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(@a{sv})",
592s # out_arg_asv);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_complete_single_arg_method_asv:
592s # * @object: A #OrgProjectUsefulInterface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @arg_asv: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_useful_interface_complete_single_arg_method_asv (
592s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # GVariant *arg_asv)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(@a{sv})",
592s # arg_asv));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmp2uwenuva
592s # /tmp/tmp2uwenuva/tmp9ooofiok.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2uwenuva/tmp9ooofiok.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 20);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # g_marshal_value_peek_boolean (param_values + 2),
592s # g_marshal_value_peek_uchar (param_values + 3),
592s # g_marshal_value_peek_int (param_values + 4),
592s # g_marshal_value_peek_uint (param_values + 5),
592s # g_marshal_value_peek_int (param_values + 6),
592s # g_marshal_value_peek_uint (param_values + 7),
592s # g_marshal_value_peek_int64 (param_values + 8),
592s # g_marshal_value_peek_uint64 (param_values + 9),
592s # g_marshal_value_peek_double (param_values + 10),
592s # g_marshal_value_peek_string (param_values + 11),
592s # g_marshal_value_peek_string (param_values + 12),
592s # g_marshal_value_peek_string (param_values + 13),
592s # g_marshal_value_peek_variant (param_values + 14),
592s # g_marshal_value_peek_string (param_values + 15),
592s # g_marshal_value_peek_boxed (param_values + 16),
592s # g_marshal_value_peek_boxed (param_values + 17),
592s # g_marshal_value_peek_boxed (param_values + 18),
592s # g_marshal_value_peek_variant (param_values + 19),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.CallableIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectCallableIface
592s # * @title: OrgProjectCallableIface
592s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.CallableIface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
592s # {
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
592s # {
592s # {
592s # -1,
592s # (gchar *) "MethodWithManyArgs",
592s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "handle-method-with-many-args",
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
592s # {
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SameMethodWithManyArgs",
592s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "handle-same-method-with-many-args",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
592s # {
592s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
592s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.CallableIface",
592s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-callable-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_callable_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_callable_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_callable_iface_method_marshal_method_with_many_args (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _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,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_callable_iface_method_marshal_same_method_with_many_args (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _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,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectCallableIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
592s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.CallableIface.
592s # */
592s #
592s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectCallableIface::handle-method-with-many-args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # * @arg_an_b: Argument passed by remote caller.
592s # * @arg_an_y: Argument passed by remote caller.
592s # * @arg_an_n: Argument passed by remote caller.
592s # * @arg_an_q: Argument passed by remote caller.
592s # * @arg_an_i: Argument passed by remote caller.
592s # * @arg_an_u: Argument passed by remote caller.
592s # * @arg_an_x: Argument passed by remote caller.
592s # * @arg_an_t: Argument passed by remote caller.
592s # * @arg_an_d: Argument passed by remote caller.
592s # * @arg_an_s: Argument passed by remote caller.
592s # * @arg_an_o: Argument passed by remote caller.
592s # * @arg_an_g: Argument passed by remote caller.
592s # * @arg_an_h: Argument passed by remote caller.
592s # * @arg_an_ay: Argument passed by remote caller.
592s # * @arg_an_as: Argument passed by remote caller.
592s # * @arg_an_ao: Argument passed by remote caller.
592s # * @arg_an_aay: Argument passed by remote caller.
592s # * @arg_an_asv: Argument passed by remote caller.
592s # *
592s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-method-with-many-args",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_callable_iface_method_marshal_method_with_many_args,
592s # G_TYPE_BOOLEAN,
592s # 19,
592s # 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);
592s #
592s # /**
592s # * OrgProjectCallableIface::handle-same-method-with-many-args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # * @arg_an_b: Argument passed by remote caller.
592s # * @arg_an_y: Argument passed by remote caller.
592s # * @arg_an_n: Argument passed by remote caller.
592s # * @arg_an_q: Argument passed by remote caller.
592s # * @arg_an_i: Argument passed by remote caller.
592s # * @arg_an_u: Argument passed by remote caller.
592s # * @arg_an_x: Argument passed by remote caller.
592s # * @arg_an_t: Argument passed by remote caller.
592s # * @arg_an_d: Argument passed by remote caller.
592s # * @arg_an_s: Argument passed by remote caller.
592s # * @arg_an_o: Argument passed by remote caller.
592s # * @arg_an_g: Argument passed by remote caller.
592s # * @arg_an_h: Argument passed by remote caller.
592s # * @arg_an_ay: Argument passed by remote caller.
592s # * @arg_an_as: Argument passed by remote caller.
592s # * @arg_an_ao: Argument passed by remote caller.
592s # * @arg_an_aay: Argument passed by remote caller.
592s # * @arg_an_asv: Argument passed by remote caller.
592s # *
592s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-same-method-with-many-args",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_callable_iface_method_marshal_same_method_with_many_args,
592s # G_TYPE_BOOLEAN,
592s # 19,
592s # 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);
592s #
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_callable_iface_call_method_with_many_args (
592s # OrgProjectCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args_finish:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_method_with_many_args_finish (
592s # OrgProjectCallableIface *proxy,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args_sync:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_method_with_many_args_sync (
592s # OrgProjectCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_same_method_with_many_args:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_callable_iface_call_same_method_with_many_args (
592s # OrgProjectCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "SameMethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_same_method_with_many_args_finish:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_same_method_with_many_args_finish (
592s # OrgProjectCallableIface *proxy,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_same_method_with_many_args_sync:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_same_method_with_many_args_sync (
592s # OrgProjectCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "SameMethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_complete_method_with_many_args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_callable_iface_complete_method_with_many_args (
592s # OrgProjectCallableIface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("()"));
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_complete_same_method_with_many_args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_callable_iface_complete_same_method_with_many_args (
592s # OrgProjectCallableIface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("()"));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectCallableIfaceProxy:
592s # *
592s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectCallableIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectCallableIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_callable_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_callable_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_callable_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_callable_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectCallableIfaceSkeleton:
592s # *
592s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectCallableIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectCallableIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_callable_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_callable_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_callable_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
592s # {
592s # _org_project_callable_iface_skeleton_handle_method_call,
592s # _org_project_callable_iface_skeleton_handle_get_property,
592s # _org_project_callable_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_callable_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_callable_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.OtherCallableIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectOtherCallableIface
592s # * @title: OrgProjectOtherCallableIface
592s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
592s # {
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
592s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
592s # {
592s # {
592s # -1,
592s # (gchar *) "MethodWithManyArgs",
592s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "handle-method-with-many-args",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
592s # {
592s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.OtherCallableIface",
592s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-other-callable-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_other_callable_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_other_callable_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_other_callable_iface_method_marshal_method_with_many_args (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _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,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectOtherCallableIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherCallableIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
592s # */
592s #
592s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
592s # * @object: A #OrgProjectOtherCallableIface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # * @arg_an_b: Argument passed by remote caller.
592s # * @arg_an_y: Argument passed by remote caller.
592s # * @arg_an_n: Argument passed by remote caller.
592s # * @arg_an_q: Argument passed by remote caller.
592s # * @arg_an_i: Argument passed by remote caller.
592s # * @arg_an_u: Argument passed by remote caller.
592s # * @arg_an_x: Argument passed by remote caller.
592s # * @arg_an_t: Argument passed by remote caller.
592s # * @arg_an_d: Argument passed by remote caller.
592s # * @arg_an_s: Argument passed by remote caller.
592s # * @arg_an_o: Argument passed by remote caller.
592s # * @arg_an_g: Argument passed by remote caller.
592s # * @arg_an_h: Argument passed by remote caller.
592s # * @arg_an_ay: Argument passed by remote caller.
592s # * @arg_an_as: Argument passed by remote caller.
592s # * @arg_an_ao: Argument passed by remote caller.
592s # * @arg_an_aay: Argument passed by remote caller.
592s # * @arg_an_asv: Argument passed by remote caller.
592s # *
592s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-method-with-many-args",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_other_callable_iface_method_marshal_method_with_many_args,
592s # G_TYPE_BOOLEAN,
592s # 19,
592s # 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);
592s #
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_call_method_with_many_args:
592s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_other_callable_iface_call_method_with_many_args (
592s # OrgProjectOtherCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_call_method_with_many_args_finish:
592s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_other_callable_iface_call_method_with_many_args_finish (
592s # OrgProjectOtherCallableIface *proxy,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_call_method_with_many_args_sync:
592s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
592s # * @arg_an_b: Argument to pass with the method invocation.
592s # * @arg_an_y: Argument to pass with the method invocation.
592s # * @arg_an_n: Argument to pass with the method invocation.
592s # * @arg_an_q: Argument to pass with the method invocation.
592s # * @arg_an_i: Argument to pass with the method invocation.
592s # * @arg_an_u: Argument to pass with the method invocation.
592s # * @arg_an_x: Argument to pass with the method invocation.
592s # * @arg_an_t: Argument to pass with the method invocation.
592s # * @arg_an_d: Argument to pass with the method invocation.
592s # * @arg_an_s: Argument to pass with the method invocation.
592s # * @arg_an_o: Argument to pass with the method invocation.
592s # * @arg_an_g: Argument to pass with the method invocation.
592s # * @arg_an_h: Argument to pass with the method invocation.
592s # * @arg_an_ay: Argument to pass with the method invocation.
592s # * @arg_an_as: Argument to pass with the method invocation.
592s # * @arg_an_ao: Argument to pass with the method invocation.
592s # * @arg_an_aay: Argument to pass with the method invocation.
592s # * @arg_an_asv: Argument to pass with the method invocation.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_other_callable_iface_call_method_with_many_args_sync (
592s # OrgProjectOtherCallableIface *proxy,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "()");
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_complete_method_with_many_args:
592s # * @object: A #OrgProjectOtherCallableIface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_other_callable_iface_complete_method_with_many_args (
592s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("()"));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherCallableIfaceProxy:
592s # *
592s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherCallableIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectOtherCallableIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_callable_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_callable_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherCallableIface *
592s # org_project_other_callable_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherCallableIface *
592s # org_project_other_callable_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_callable_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherCallableIface *
592s # org_project_other_callable_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherCallableIface *
592s # org_project_other_callable_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherCallableIfaceSkeleton:
592s # *
592s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherCallableIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_other_callable_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_other_callable_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_other_callable_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
592s # {
592s # _org_project_other_callable_iface_skeleton_handle_method_call,
592s # _org_project_other_callable_iface_skeleton_handle_get_property,
592s # _org_project_other_callable_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_other_callable_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_other_callable_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectOtherCallableIface *
592s # org_project_other_callable_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpj5_5ipnx
592s # /tmp/tmpj5_5ipnx/tmpnrri4xy5.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj5_5ipnx/tmpnrri4xy5.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.CallableIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectCallableIface
592s # * @title: OrgProjectCallableIface
592s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for org.project.CallableIface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
592s # {
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
592s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
592s # {
592s # {
592s # -1,
592s # (gchar *) "MethodWithManyArgs",
592s # NULL,
592s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-method-with-many-args",
592s # FALSE
592s # };
592s #
592s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
592s # {
592s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.CallableIface",
592s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-callable-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_callable_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_callable_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_callable_iface_method_marshal_method_with_many_args (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectCallableIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.CallableIface.
592s # */
592s #
592s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * OrgProjectCallableIface::handle-method-with-many-args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: A #GDBusMethodInvocation.
592s # *
592s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-method-with-many-args",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # org_project_callable_iface_method_marshal_method_with_many_args,
592s # G_TYPE_BOOLEAN,
592s # 1,
592s # G_TYPE_DBUS_METHOD_INVOCATION);
592s #
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # org_project_callable_iface_call_method_with_many_args (
592s # OrgProjectCallableIface *proxy,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args_finish:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_method_with_many_args_finish (
592s # OrgProjectCallableIface *proxy,
592s # gboolean *out_an_b,
592s # guchar *out_an_y,
592s # gint16 *out_an_n,
592s # guint16 *out_an_q,
592s # gint *out_an_i,
592s # guint *out_an_u,
592s # gint64 *out_an_x,
592s # guint64 *out_an_t,
592s # gdouble *out_an_d,
592s # gchar **out_an_s,
592s # gchar **out_an_o,
592s # gchar **out_an_g,
592s # GVariant **out_an_h,
592s # gchar **out_an_ay,
592s # gchar ***out_an_as,
592s # gchar ***out_an_ao,
592s # gchar ***out_an_aay,
592s # GVariant **out_an_asv,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # out_an_b,
592s # out_an_y,
592s # out_an_n,
592s # out_an_q,
592s # out_an_i,
592s # out_an_u,
592s # out_an_x,
592s # out_an_t,
592s # out_an_d,
592s # out_an_s,
592s # out_an_o,
592s # out_an_g,
592s # out_an_h,
592s # out_an_ay,
592s # out_an_as,
592s # out_an_ao,
592s # out_an_aay,
592s # out_an_asv);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_call_method_with_many_args_sync:
592s # * @proxy: A #OrgProjectCallableIfaceProxy.
592s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
592s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # org_project_callable_iface_call_method_with_many_args_sync (
592s # OrgProjectCallableIface *proxy,
592s # gboolean *out_an_b,
592s # guchar *out_an_y,
592s # gint16 *out_an_n,
592s # guint16 *out_an_q,
592s # gint *out_an_i,
592s # guint *out_an_u,
592s # gint64 *out_an_x,
592s # guint64 *out_an_t,
592s # gdouble *out_an_d,
592s # gchar **out_an_s,
592s # gchar **out_an_o,
592s # gchar **out_an_g,
592s # GVariant **out_an_h,
592s # gchar **out_an_ay,
592s # gchar ***out_an_as,
592s # gchar ***out_an_ao,
592s # gchar ***out_an_aay,
592s # GVariant **out_an_asv,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
592s # "MethodWithManyArgs",
592s # g_variant_new ("()"),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # out_an_b,
592s # out_an_y,
592s # out_an_n,
592s # out_an_q,
592s # out_an_i,
592s # out_an_u,
592s # out_an_x,
592s # out_an_t,
592s # out_an_d,
592s # out_an_s,
592s # out_an_o,
592s # out_an_g,
592s # out_an_h,
592s # out_an_ay,
592s # out_an_as,
592s # out_an_ao,
592s # out_an_aay,
592s # out_an_asv);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_complete_method_with_many_args:
592s # * @object: A #OrgProjectCallableIface.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @an_b: Parameter to return.
592s # * @an_y: Parameter to return.
592s # * @an_n: Parameter to return.
592s # * @an_q: Parameter to return.
592s # * @an_i: Parameter to return.
592s # * @an_u: Parameter to return.
592s # * @an_x: Parameter to return.
592s # * @an_t: Parameter to return.
592s # * @an_d: Parameter to return.
592s # * @an_s: Parameter to return.
592s # * @an_o: Parameter to return.
592s # * @an_g: Parameter to return.
592s # * @an_h: Parameter to return.
592s # * @an_ay: Parameter to return.
592s # * @an_as: Parameter to return.
592s # * @an_ao: Parameter to return.
592s # * @an_aay: Parameter to return.
592s # * @an_asv: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # org_project_callable_iface_complete_method_with_many_args (
592s # OrgProjectCallableIface *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # gboolean an_b,
592s # guchar an_y,
592s # gint16 an_n,
592s # guint16 an_q,
592s # gint an_i,
592s # guint an_u,
592s # gint64 an_x,
592s # guint64 an_t,
592s # gdouble an_d,
592s # const gchar *an_s,
592s # const gchar *an_o,
592s # const gchar *an_g,
592s # GVariant *an_h,
592s # const gchar *an_ay,
592s # const gchar *const *an_as,
592s # const gchar *const *an_ao,
592s # const gchar *const *an_aay,
592s # GVariant *an_asv)
592s # {
592s # g_dbus_method_invocation_return_value (invocation,
592s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # an_b,
592s # an_y,
592s # an_n,
592s # an_q,
592s # an_i,
592s # an_u,
592s # an_x,
592s # an_t,
592s # an_d,
592s # an_s,
592s # an_o,
592s # an_g,
592s # an_h,
592s # an_ay,
592s # an_as,
592s # an_ao,
592s # an_aay,
592s # an_asv));
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectCallableIfaceProxy:
592s # *
592s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectCallableIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectCallableIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_callable_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_callable_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_callable_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_callable_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_CALLABLE_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectCallableIfaceSkeleton:
592s # *
592s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectCallableIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectCallableIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectCallableIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_callable_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_callable_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_callable_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
592s # {
592s # _org_project_callable_iface_skeleton_handle_method_call,
592s # _org_project_callable_iface_skeleton_handle_get_property,
592s # _org_project_callable_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_callable_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_callable_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_callable_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectCallableIface *
592s # org_project_callable_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpistonh32
592s # /tmp/tmpistonh32/tmpyrrtgj21.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpistonh32/tmpyrrtgj21.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
592s # (void *data1,
592s # GDBusMethodInvocation *arg_method_invocation,
592s # GUnixFDList *arg_fd_list,
592s # const gchar *arg_greeting,
592s # void *data2);
592s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s # gboolean v_return;
592s #
592s # g_return_if_fail (return_value != NULL);
592s # g_return_if_fail (n_param_values == 4);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # v_return =
592s # callback (data1,
592s # g_marshal_value_peek_object (param_values + 1),
592s # g_marshal_value_peek_object (param_values + 2),
592s # g_marshal_value_peek_string (param_values + 3),
592s # data2);
592s #
592s # g_value_set_boolean (return_value, v_return);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface test.FDPassing
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:TestFDPassing
592s # * @title: TestFDPassing
592s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
592s # *
592s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
592s # */
592s #
592s # /* ---- Introspection data for test.FDPassing ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
592s # {
592s # {
592s # -1,
592s # (gchar *) "greeting",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
592s # {
592s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
592s # {
592s # {
592s # -1,
592s # (gchar *) "response",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
592s # {
592s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
592s # {
592s # {
592s # -1,
592s # (gchar *) "HelloFD",
592s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
592s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
592s # NULL
592s # },
592s # "handle-hello-fd",
592s # TRUE
592s # };
592s #
592s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
592s # {
592s # &_test_fdpassing_method_info_hello_fd.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "test.FDPassing",
592s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
592s # NULL,
592s # NULL,
592s # NULL
592s # },
592s # "test-fdpassing",
592s # };
592s #
592s #
592s # /**
592s # * test_fdpassing_interface_info:
592s # *
592s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # test_fdpassing_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * test_fdpassing_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # test_fdpassing_method_marshal_hello_fd (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * TestFDPassing:
592s # *
592s # * Abstract interface type for the D-Bus interface test.FDPassing.
592s # */
592s #
592s # /**
592s # * TestFDPassingIface:
592s # * @parent_iface: The parent interface.
592s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
592s # *
592s # * Virtual table for the D-Bus interface test.FDPassing.
592s # */
592s #
592s # typedef TestFDPassingIface TestFDPassingInterface;
592s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
592s #
592s # static void
592s # test_fdpassing_default_init (TestFDPassingIface *iface)
592s # {
592s # /* GObject signals for incoming D-Bus method calls: */
592s # /**
592s # * TestFDPassing::handle-hello-fd:
592s # * @object: A #TestFDPassing.
592s # * @invocation: A #GDBusMethodInvocation.
592s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
592s # * @arg_greeting: Argument passed by remote caller.
592s # *
592s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
592s # *
592s # * 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.
592s # *
592s # * 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.
592s # */
592s # g_signal_new ("handle-hello-fd",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
592s # g_signal_accumulator_true_handled,
592s # NULL,
592s # test_fdpassing_method_marshal_hello_fd,
592s # G_TYPE_BOOLEAN,
592s # 3,
592s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
592s #
592s # }
592s #
592s # /**
592s # * test_fdpassing_call_hello_fd:
592s # * @proxy: A #TestFDPassingProxy.
592s # * @arg_greeting: Argument to pass with the method invocation.
592s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
592s # *
592s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
592s # */
592s # void
592s # test_fdpassing_call_hello_fd (
592s # TestFDPassing *proxy,
592s # const gchar *arg_greeting,
592s # GUnixFDList *fd_list,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
592s # "HelloFD",
592s # g_variant_new ("(s)",
592s # arg_greeting),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # fd_list,
592s # cancellable,
592s # callback,
592s # user_data);
592s # }
592s #
592s # /**
592s # * test_fdpassing_call_hello_fd_finish:
592s # * @proxy: A #TestFDPassingProxy.
592s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Finishes an operation started with test_fdpassing_call_hello_fd().
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # test_fdpassing_call_hello_fd_finish (
592s # TestFDPassing *proxy,
592s # gchar **out_response,
592s # GUnixFDList **out_fd_list,
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(s)",
592s # out_response);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * test_fdpassing_call_hello_fd_sync:
592s # * @proxy: A #TestFDPassingProxy.
592s # * @arg_greeting: Argument to pass with the method invocation.
592s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
592s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
592s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL.
592s # *
592s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
592s # *
592s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
592s # *
592s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
592s # */
592s # gboolean
592s # test_fdpassing_call_hello_fd_sync (
592s # TestFDPassing *proxy,
592s # const gchar *arg_greeting,
592s # GUnixFDList *fd_list,
592s # gchar **out_response,
592s # GUnixFDList **out_fd_list,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GVariant *_ret;
592s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
592s # "HelloFD",
592s # g_variant_new ("(s)",
592s # arg_greeting),
592s # G_DBUS_CALL_FLAGS_NONE,
592s # -1,
592s # fd_list,
592s # out_fd_list,
592s # cancellable,
592s # error);
592s # if (_ret == NULL)
592s # goto _out;
592s # g_variant_get (_ret,
592s # "(s)",
592s # out_response);
592s # g_variant_unref (_ret);
592s # _out:
592s # return _ret != NULL;
592s # }
592s #
592s # /**
592s # * test_fdpassing_complete_hello_fd:
592s # * @object: A #TestFDPassing.
592s # * @invocation: (transfer full): A #GDBusMethodInvocation.
592s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
592s # * @response: Parameter to return.
592s # *
592s # * 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.
592s # *
592s # * This method will free @invocation, you cannot use it afterwards.
592s # */
592s # void
592s # test_fdpassing_complete_hello_fd (
592s # TestFDPassing *object G_GNUC_UNUSED,
592s # GDBusMethodInvocation *invocation,
592s # GUnixFDList *fd_list,
592s # const gchar *response)
592s # {
592s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
592s # g_variant_new ("(s)",
592s # response),
592s # fd_list);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * TestFDPassingProxy:
592s # *
592s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * TestFDPassingProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #TestFDPassingProxy.
592s # */
592s #
592s # struct _TestFDPassingProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (TestFDPassingProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # test_fdpassing_proxy_finalize (GObject *object)
592s # {
592s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = test_fdpassing_proxy_finalize;
592s # gobject_class->get_property = test_fdpassing_proxy_get_property;
592s # gobject_class->set_property = test_fdpassing_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
592s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * test_fdpassing_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # test_fdpassing_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * test_fdpassing_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with test_fdpassing_proxy_new().
592s # *
592s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # TestFDPassing *
592s # test_fdpassing_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return TEST_FDPASSING (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * test_fdpassing_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # TestFDPassing *
592s # test_fdpassing_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return TEST_FDPASSING (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * test_fdpassing_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # test_fdpassing_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * test_fdpassing_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # TestFDPassing *
592s # test_fdpassing_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return TEST_FDPASSING (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * test_fdpassing_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # TestFDPassing *
592s # test_fdpassing_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return TEST_FDPASSING (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * TestFDPassingSkeleton:
592s # *
592s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * TestFDPassingSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #TestFDPassingSkeleton.
592s # */
592s #
592s # struct _TestFDPassingSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _test_fdpassing_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _test_fdpassing_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _test_fdpassing_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
592s # {
592s # _test_fdpassing_skeleton_handle_method_call,
592s # _test_fdpassing_skeleton_handle_get_property,
592s # _test_fdpassing_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return test_fdpassing_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (TestFDPassingSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # test_fdpassing_skeleton_finalize (GObject *object)
592s # {
592s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * test_fdpassing_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
592s # *
592s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
592s # */
592s # TestFDPassing *
592s # test_fdpassing_skeleton_new (void)
592s # {
592s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
592s # }
592s # Error:
592s ok 15 __main__.TestCodegen.test_generate_rst
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpu32rmt0g
592s # /tmp/tmpu32rmt0g/tmprgdr4pjl.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpu32rmt0g/tmprgdr4pjl.xml', '--generate-rst', 'test']
592s # Return code: 0
592s # Output:
592s #
592s # Error:
592s ok 16 __main__.TestCodegen.test_generate_rst_method
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpjuf62v4o
592s # /tmp/tmpjuf62v4o/tmpg46v72f6.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjuf62v4o/tmpg46v72f6.xml', '--generate-rst', 'test']
592s # Return code: 0
592s # Output:
592s #
592s # Error:
592s ok 17 __main__.TestCodegen.test_generate_rst_property
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpp7swll12
592s # /tmp/tmpp7swll12/tmpojxxksv7.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpp7swll12/tmpojxxksv7.xml', '--generate-rst', 'test']
592s # Return code: 0
592s # Output:
592s #
592s # Error:
592s ok 18 __main__.TestCodegen.test_generate_rst_signal
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmptybne22l
592s # /tmp/tmptybne22l/tmp6uja72hh.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptybne22l/tmp6uja72hh.xml', '--generate-rst', 'test']
592s # Return code: 0
592s # Output:
592s #
592s # Error:
592s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpn2jn62ip
592s # /tmp/tmpn2jn62ip/tmpe1yc7_n9.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn2jn62ip/tmpe1yc7_n9.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
592s # GClosure *closure,
592s # GValue *return_value G_GNUC_UNUSED,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
592s # (void *data1,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv,
592s # void *data2);
592s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s #
592s # g_return_if_fail (n_param_values == 19);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # callback (data1,
592s # g_marshal_value_peek_boolean (param_values + 1),
592s # g_marshal_value_peek_uchar (param_values + 2),
592s # g_marshal_value_peek_int (param_values + 3),
592s # g_marshal_value_peek_uint (param_values + 4),
592s # g_marshal_value_peek_int (param_values + 5),
592s # g_marshal_value_peek_uint (param_values + 6),
592s # g_marshal_value_peek_int64 (param_values + 7),
592s # g_marshal_value_peek_uint64 (param_values + 8),
592s # g_marshal_value_peek_double (param_values + 9),
592s # g_marshal_value_peek_string (param_values + 10),
592s # g_marshal_value_peek_string (param_values + 11),
592s # g_marshal_value_peek_string (param_values + 12),
592s # g_marshal_value_peek_variant (param_values + 13),
592s # g_marshal_value_peek_string (param_values + 14),
592s # g_marshal_value_peek_boxed (param_values + 15),
592s # g_marshal_value_peek_boxed (param_values + 16),
592s # g_marshal_value_peek_boxed (param_values + 17),
592s # g_marshal_value_peek_variant (param_values + 18),
592s # data2);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.SignalingIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectSignalingIface
592s # * @title: OrgProjectSignalingIface
592s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.SignalingIface ---- */
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SignalWithManyArgs",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
592s # NULL
592s # },
592s # "signal-with-many-args"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.SignalingIface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-signaling-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_signaling_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectSignalingIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectSignalingIface::signal-with-many-args:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_b: Argument.
592s # * @arg_an_y: Argument.
592s # * @arg_an_n: Argument.
592s # * @arg_an_q: Argument.
592s # * @arg_an_i: Argument.
592s # * @arg_an_u: Argument.
592s # * @arg_an_x: Argument.
592s # * @arg_an_t: Argument.
592s # * @arg_an_d: Argument.
592s # * @arg_an_s: Argument.
592s # * @arg_an_o: Argument.
592s # * @arg_an_g: Argument.
592s # * @arg_an_h: Argument.
592s # * @arg_an_ay: Argument.
592s # * @arg_an_as: Argument.
592s # * @arg_an_ao: Argument.
592s # * @arg_an_aay: Argument.
592s # * @arg_an_asv: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
592s # g_signal_new ("signal-with-many-args",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
592s # G_TYPE_NONE,
592s # 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);
592s #
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_signal_with_many_args:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_b: Argument to pass with the signal.
592s # * @arg_an_y: Argument to pass with the signal.
592s # * @arg_an_n: Argument to pass with the signal.
592s # * @arg_an_q: Argument to pass with the signal.
592s # * @arg_an_i: Argument to pass with the signal.
592s # * @arg_an_u: Argument to pass with the signal.
592s # * @arg_an_x: Argument to pass with the signal.
592s # * @arg_an_t: Argument to pass with the signal.
592s # * @arg_an_d: Argument to pass with the signal.
592s # * @arg_an_s: Argument to pass with the signal.
592s # * @arg_an_o: Argument to pass with the signal.
592s # * @arg_an_g: Argument to pass with the signal.
592s # * @arg_an_h: Argument to pass with the signal.
592s # * @arg_an_ay: Argument to pass with the signal.
592s # * @arg_an_as: Argument to pass with the signal.
592s # * @arg_an_ao: Argument to pass with the signal.
592s # * @arg_an_aay: Argument to pass with the signal.
592s # * @arg_an_asv: Argument to pass with the signal.
592s # *
592s # * Emits the "SignalWithManyArgs" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_signal_with_many_args (
592s # OrgProjectSignalingIface *object,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv)
592s # {
592s # 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);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxy:
592s # *
592s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeleton:
592s # *
592s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_signaling_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_signaling_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_signaling_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
592s # {
592s # _org_project_signaling_iface_skeleton_handle_method_call,
592s # _org_project_signaling_iface_skeleton_handle_get_property,
592s # _org_project_signaling_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_signaling_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_signal_with_many_args (
592s # OrgProjectSignalingIface *object,
592s # gboolean arg_an_b,
592s # guchar arg_an_y,
592s # gint16 arg_an_n,
592s # guint16 arg_an_q,
592s # gint arg_an_i,
592s # guint arg_an_u,
592s # gint64 arg_an_x,
592s # guint64 arg_an_t,
592s # gdouble arg_an_d,
592s # const gchar *arg_an_s,
592s # const gchar *arg_an_o,
592s # const gchar *arg_an_g,
592s # GVariant *arg_an_h,
592s # const gchar *arg_an_ay,
592s # const gchar *const *arg_an_as,
592s # const gchar *const *arg_an_ao,
592s # const gchar *const *arg_an_aay,
592s # GVariant *arg_an_asv)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
592s # arg_an_b,
592s # arg_an_y,
592s # arg_an_n,
592s # arg_an_q,
592s # arg_an_i,
592s # arg_an_u,
592s # arg_an_x,
592s # arg_an_t,
592s # arg_an_d,
592s # arg_an_s,
592s # arg_an_o,
592s # arg_an_g,
592s # arg_an_h,
592s # arg_an_ay,
592s # arg_an_as,
592s # arg_an_ao,
592s # arg_an_aay,
592s # arg_an_asv));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmp94qflux3
592s # /tmp/tmp94qflux3/tmphxiy2g_1.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp94qflux3/tmphxiy2g_1.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_VOID__INT64 (
592s # GClosure *closure,
592s # GValue *return_value G_GNUC_UNUSED,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
592s # (void *data1,
592s # gint64 arg_an_x,
592s # void *data2);
592s # _GDbusCodegenMarshalVoid_Int64Func callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s #
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # callback (data1,
592s # g_marshal_value_peek_int64 (param_values + 1),
592s # data2);
592s # }
592s #
592s # static void
592s # _g_dbus_codegen_marshal_VOID__UINT64 (
592s # GClosure *closure,
592s # GValue *return_value G_GNUC_UNUSED,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint G_GNUC_UNUSED,
592s # void *marshal_data)
592s # {
592s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
592s # (void *data1,
592s # guint64 arg_an_t,
592s # void *data2);
592s # _GDbusCodegenMarshalVoid_Uint64Func callback;
592s # GCClosure *cc = (GCClosure*) closure;
592s # void *data1, *data2;
592s #
592s # g_return_if_fail (n_param_values == 2);
592s #
592s # if (G_CCLOSURE_SWAP_DATA (closure))
592s # {
592s # data1 = closure->data;
592s # data2 = g_value_peek_pointer (param_values + 0);
592s # }
592s # else
592s # {
592s # data1 = g_value_peek_pointer (param_values + 0);
592s # data2 = closure->data;
592s # }
592s #
592s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
592s # (marshal_data ? marshal_data : cc->callback);
592s #
592s # callback (data1,
592s # g_marshal_value_peek_uint64 (param_values + 1),
592s # data2);
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.SignalingIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectSignalingIface
592s # * @title: OrgProjectSignalingIface
592s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
592s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.SignalingIface ---- */
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
592s # {
592s # {
592s # -1,
592s # (gchar *) "NoArgSignal",
592s # NULL,
592s # NULL
592s # },
592s # "no-arg-signal"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_b",
592s # (gchar *) "b",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalB",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-b"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_y",
592s # (gchar *) "y",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalY",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-y"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_n",
592s # (gchar *) "n",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalN",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-n"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_q",
592s # (gchar *) "q",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalQ",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-q"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_i",
592s # (gchar *) "i",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalI",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-i"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_u",
592s # (gchar *) "u",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalU",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-u"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_x",
592s # (gchar *) "x",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalX",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-x"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_t",
592s # (gchar *) "t",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalT",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-t"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_d",
592s # (gchar *) "d",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalD",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-d"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_s",
592s # (gchar *) "s",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalS",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-s"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_o",
592s # (gchar *) "o",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalO",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-o"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_g",
592s # (gchar *) "g",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalG",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-g"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_h",
592s # (gchar *) "h",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalH",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-h"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ay",
592s # (gchar *) "ay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalAY",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-ay"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_as",
592s # (gchar *) "as",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalAS",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-as"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_ao",
592s # (gchar *) "ao",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalAO",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-ao"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_aay",
592s # (gchar *) "aay",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalAAY",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-aay"
592s # };
592s #
592s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "an_asv",
592s # (gchar *) "a{sv}",
592s # NULL
592s # },
592s # FALSE
592s # };
592s #
592s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SingleArgSignalASV",
592s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
592s # NULL
592s # },
592s # "single-arg-signal-asv"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
592s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.SignalingIface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-signaling-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_signaling_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_no_arg_signal (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VOID (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__BOOLEAN (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__UCHAR (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__INT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__UINT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__INT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__UINT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__DOUBLE (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__STRING (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__STRING (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__STRING (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VARIANT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__STRING (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__BOXED (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__BOXED (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__BOXED (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VARIANT (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectSignalingIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
592s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
592s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
592s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
592s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
592s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
592s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
592s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
592s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
592s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
592s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
592s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
592s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
592s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
592s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
592s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
592s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
592s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
592s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectSignalingIface::no-arg-signal:
592s # * @object: A #OrgProjectSignalingIface.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
592s # g_signal_new ("no-arg-signal",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_no_arg_signal,
592s # G_TYPE_NONE,
592s # 0);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-b:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_b: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
592s # g_signal_new ("single-arg-signal-b",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_BOOLEAN);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-y:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_y: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
592s # g_signal_new ("single-arg-signal-y",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_UCHAR);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-n:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_n: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
592s # g_signal_new ("single-arg-signal-n",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_INT);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-q:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_q: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
592s # g_signal_new ("single-arg-signal-q",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_UINT);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-i:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_i: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
592s # g_signal_new ("single-arg-signal-i",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_INT);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-u:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_u: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
592s # g_signal_new ("single-arg-signal-u",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_UINT);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-x:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_x: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
592s # g_signal_new ("single-arg-signal-x",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_INT64);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-t:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_t: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
592s # g_signal_new ("single-arg-signal-t",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_UINT64);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-d:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_d: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
592s # g_signal_new ("single-arg-signal-d",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_DOUBLE);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-s:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_s: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
592s # g_signal_new ("single-arg-signal-s",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRING);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-o:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_o: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
592s # g_signal_new ("single-arg-signal-o",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRING);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-g:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_g: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
592s # g_signal_new ("single-arg-signal-g",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRING);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-h:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_h: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
592s # g_signal_new ("single-arg-signal-h",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_VARIANT);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-ay:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_ay: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
592s # g_signal_new ("single-arg-signal-ay",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRING);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-as:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_as: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
592s # g_signal_new ("single-arg-signal-as",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRV);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-ao:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_ao: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
592s # g_signal_new ("single-arg-signal-ao",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRV);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-aay:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_aay: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
592s # g_signal_new ("single-arg-signal-aay",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_STRV);
592s #
592s # /**
592s # * OrgProjectSignalingIface::single-arg-signal-asv:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_asv: Argument.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
592s # g_signal_new ("single-arg-signal-asv",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
592s # G_TYPE_NONE,
592s # 1, G_TYPE_VARIANT);
592s #
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_no_arg_signal:
592s # * @object: A #OrgProjectSignalingIface.
592s # *
592s # * Emits the "NoArgSignal" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_no_arg_signal (
592s # OrgProjectSignalingIface *object)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_b:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_b: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalB" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_b (
592s # OrgProjectSignalingIface *object,
592s # gboolean arg_an_b)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_y:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_y: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalY" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_y (
592s # OrgProjectSignalingIface *object,
592s # guchar arg_an_y)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_n:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_n: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalN" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_n (
592s # OrgProjectSignalingIface *object,
592s # gint16 arg_an_n)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_q:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_q: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalQ" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_q (
592s # OrgProjectSignalingIface *object,
592s # guint16 arg_an_q)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_i:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_i: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalI" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_i (
592s # OrgProjectSignalingIface *object,
592s # gint arg_an_i)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_u:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_u: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalU" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_u (
592s # OrgProjectSignalingIface *object,
592s # guint arg_an_u)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_x:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_x: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalX" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_x (
592s # OrgProjectSignalingIface *object,
592s # gint64 arg_an_x)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_t:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_t: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalT" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_t (
592s # OrgProjectSignalingIface *object,
592s # guint64 arg_an_t)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_d:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_d: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalD" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_d (
592s # OrgProjectSignalingIface *object,
592s # gdouble arg_an_d)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_s:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_s: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalS" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_s (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_s)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_o:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_o: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalO" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_o (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_o)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_g:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_g: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalG" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_g (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_g)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_h:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_h: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalH" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_h (
592s # OrgProjectSignalingIface *object,
592s # GVariant *arg_an_h)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_ay:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_ay: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalAY" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_ay (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_ay)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_as:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_as: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalAS" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_as (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_as)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_ao:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_ao: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalAO" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_ao (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_ao)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_aay:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_aay: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalAAY" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_aay (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_aay)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_single_arg_signal_asv:
592s # * @object: A #OrgProjectSignalingIface.
592s # * @arg_an_asv: Argument to pass with the signal.
592s # *
592s # * Emits the "SingleArgSignalASV" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_single_arg_signal_asv (
592s # OrgProjectSignalingIface *object,
592s # GVariant *arg_an_asv)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxy:
592s # *
592s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeleton:
592s # *
592s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_signaling_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_signaling_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_signaling_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
592s # {
592s # _org_project_signaling_iface_skeleton_handle_method_call,
592s # _org_project_signaling_iface_skeleton_handle_get_property,
592s # _org_project_signaling_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_signaling_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_no_arg_signal (
592s # OrgProjectSignalingIface *object)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
592s # OrgProjectSignalingIface *object,
592s # gboolean arg_an_b)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
592s # arg_an_b));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
592s # OrgProjectSignalingIface *object,
592s # guchar arg_an_y)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
592s # arg_an_y));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
592s # OrgProjectSignalingIface *object,
592s # gint16 arg_an_n)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
592s # arg_an_n));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
592s # OrgProjectSignalingIface *object,
592s # guint16 arg_an_q)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
592s # arg_an_q));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
592s # OrgProjectSignalingIface *object,
592s # gint arg_an_i)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
592s # arg_an_i));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
592s # OrgProjectSignalingIface *object,
592s # guint arg_an_u)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
592s # arg_an_u));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
592s # OrgProjectSignalingIface *object,
592s # gint64 arg_an_x)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
592s # arg_an_x));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
592s # OrgProjectSignalingIface *object,
592s # guint64 arg_an_t)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
592s # arg_an_t));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
592s # OrgProjectSignalingIface *object,
592s # gdouble arg_an_d)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
592s # arg_an_d));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_s)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
592s # arg_an_s));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_o)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
592s # arg_an_o));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_g)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
592s # arg_an_g));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
592s # OrgProjectSignalingIface *object,
592s # GVariant *arg_an_h)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
592s # arg_an_h));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
592s # OrgProjectSignalingIface *object,
592s # const gchar *arg_an_ay)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
592s # arg_an_ay));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_as)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
592s # arg_an_as));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_ao)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
592s # arg_an_ao));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
592s # OrgProjectSignalingIface *object,
592s # const gchar *const *arg_an_aay)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
592s # arg_an_aay));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
592s # OrgProjectSignalingIface *object,
592s # GVariant *arg_an_asv)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
592s # arg_an_asv));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
592s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
592s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
592s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
592s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
592s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
592s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
592s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
592s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
592s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
592s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
592s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
592s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
592s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
592s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
592s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
592s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
592s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
592s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmp6inzygxu
592s # /tmp/tmp6inzygxu/tmpj2lk2kb4.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6inzygxu/tmpj2lk2kb4.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.UsefulInterface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectUsefulInterface
592s # * @title: OrgProjectUsefulInterface
592s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.UsefulInterface ---- */
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SimpleSignal",
592s # NULL,
592s # NULL
592s # },
592s # "simple-signal"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
592s # {
592s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.UsefulInterface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-useful-interface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_useful_interface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_useful_interface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_useful_interface_signal_marshal_simple_signal (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VOID (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectUsefulInterface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
592s # */
592s #
592s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectUsefulInterface::simple-signal:
592s # * @object: A #OrgProjectUsefulInterface.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
592s # g_signal_new ("simple-signal",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
592s # NULL,
592s # NULL,
592s # org_project_useful_interface_signal_marshal_simple_signal,
592s # G_TYPE_NONE,
592s # 0);
592s #
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_emit_simple_signal:
592s # * @object: A #OrgProjectUsefulInterface.
592s # *
592s # * Emits the "SimpleSignal" D-Bus signal.
592s # */
592s # void
592s # org_project_useful_interface_emit_simple_signal (
592s # OrgProjectUsefulInterface *object)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxy:
592s # *
592s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceProxy.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
592s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
592s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_useful_interface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # g_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);
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeleton:
592s # *
592s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectUsefulInterfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_useful_interface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_useful_interface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_useful_interface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
592s # {
592s # _org_project_useful_interface_skeleton_handle_method_call,
592s # _org_project_useful_interface_skeleton_handle_get_property,
592s # _org_project_useful_interface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_useful_interface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_useful_interface_on_signal_simple_signal (
592s # OrgProjectUsefulInterface *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_useful_interface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
592s # {
592s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
592s # }
592s #
592s # /**
592s # * org_project_useful_interface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectUsefulInterface *
592s # org_project_useful_interface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.OtherIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectOtherIface
592s # * @title: OrgProjectOtherIface
592s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.OtherIface ---- */
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SimpleSignal",
592s # NULL,
592s # NULL
592s # },
592s # "simple-signal"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
592s # {
592s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.OtherIface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-other-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_other_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_other_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_other_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_other_iface_signal_marshal_simple_signal (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VOID (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectOtherIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.OtherIface.
592s # */
592s #
592s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectOtherIface::simple-signal:
592s # * @object: A #OrgProjectOtherIface.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
592s # g_signal_new ("simple-signal",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
592s # NULL,
592s # NULL,
592s # org_project_other_iface_signal_marshal_simple_signal,
592s # G_TYPE_NONE,
592s # 0);
592s #
592s # }
592s #
592s # /**
592s # * org_project_other_iface_emit_simple_signal:
592s # * @object: A #OrgProjectOtherIface.
592s # *
592s # * Emits the "SimpleSignal" D-Bus signal.
592s # */
592s # void
592s # org_project_other_iface_emit_simple_signal (
592s # OrgProjectOtherIface *object)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherIfaceProxy:
592s # *
592s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectOtherIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_other_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherIface *
592s # org_project_other_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherIface *
592s # org_project_other_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_other_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherIface *
592s # org_project_other_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherIface *
592s # org_project_other_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherIfaceSkeleton:
592s # *
592s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectOtherIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_other_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_other_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_other_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
592s # {
592s # _org_project_other_iface_skeleton_handle_method_call,
592s # _org_project_other_iface_skeleton_handle_get_property,
592s # _org_project_other_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_other_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_other_iface_on_signal_simple_signal (
592s # OrgProjectOtherIface *object)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
592s # {
592s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
592s # }
592s #
592s # /**
592s # * org_project_other_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectOtherIface *
592s # org_project_other_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
592s # }
592s # Error:
592s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
592s # gdbus-codegen: /usr/bin/gdbus-codegen
592s # tmpdir: /tmp/tmpogs5y_hd
592s # /tmp/tmpogs5y_hd/tmp_n8eoubl.xml:
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s #
592s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpogs5y_hd/tmp_n8eoubl.xml', '--output', '-', '--body']
592s # Return code: 0
592s # Output:
592s # /*
592s # * This file is generated by gdbus-codegen, do not modify it.
592s # *
592s # * The license of this code is the same as for the D-Bus interface description
592s # * it was derived from. Note that it links to GLib, so must comply with the
592s # * LGPL linking clauses.
592s # */
592s #
592s # #ifdef HAVE_CONFIG_H
592s # # include "config.h"
592s # #endif
592s #
592s # #include
592s # #ifdef G_OS_UNIX
592s # # include
592s # #endif
592s #
592s # #ifdef G_ENABLE_DEBUG
592s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
592s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
592s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
592s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
592s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
592s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
592s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
592s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
592s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
592s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
592s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
592s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
592s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
592s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
592s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
592s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
592s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
592s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
592s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
592s # #else /* !G_ENABLE_DEBUG */
592s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
592s # * Do not access GValues directly in your code. Instead, use the
592s # * g_value_get_*() functions
592s # */
592s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
592s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
592s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
592s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
592s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
592s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
592s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
592s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
592s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
592s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
592s # #endif /* !G_ENABLE_DEBUG */
592s #
592s # typedef struct
592s # {
592s # GDBusArgInfo parent_struct;
592s # gboolean use_gvariant;
592s # } _ExtendedGDBusArgInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusMethodInfo parent_struct;
592s # const gchar *signal_name;
592s # gboolean pass_fdlist;
592s # } _ExtendedGDBusMethodInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusSignalInfo parent_struct;
592s # const gchar *signal_name;
592s # } _ExtendedGDBusSignalInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusPropertyInfo parent_struct;
592s # const gchar *hyphen_name;
592s # guint use_gvariant : 1;
592s # guint emits_changed_signal : 1;
592s # } _ExtendedGDBusPropertyInfo;
592s #
592s # typedef struct
592s # {
592s # GDBusInterfaceInfo parent_struct;
592s # const gchar *hyphen_name;
592s # } _ExtendedGDBusInterfaceInfo;
592s #
592s # typedef struct
592s # {
592s # const _ExtendedGDBusPropertyInfo *info;
592s # guint prop_id;
592s # GValue orig_value; /* the value before the change */
592s # } ChangedProperty;
592s #
592s # static void
592s # _changed_property_free (ChangedProperty *data)
592s # {
592s # g_value_unset (&data->orig_value);
592s # g_free (data);
592s # }
592s #
592s # static gboolean
592s # _g_strv_equal0 (gchar **a, gchar **b)
592s # {
592s # gboolean ret = FALSE;
592s # guint n;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # if (g_strv_length (a) != g_strv_length (b))
592s # goto out;
592s # for (n = 0; a[n] != NULL; n++)
592s # if (g_strcmp0 (a[n], b[n]) != 0)
592s # goto out;
592s # ret = TRUE;
592s # out:
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _g_variant_equal0 (GVariant *a, GVariant *b)
592s # {
592s # gboolean ret = FALSE;
592s # if (a == NULL && b == NULL)
592s # {
592s # ret = TRUE;
592s # goto out;
592s # }
592s # if (a == NULL || b == NULL)
592s # goto out;
592s # ret = g_variant_equal (a, b);
592s # out:
592s # return ret;
592s # }
592s #
592s # G_GNUC_UNUSED static gboolean
592s # _g_value_equal (const GValue *a, const GValue *b)
592s # {
592s # gboolean ret = FALSE;
592s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
592s # switch (G_VALUE_TYPE (a))
592s # {
592s # case G_TYPE_BOOLEAN:
592s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
592s # break;
592s # case G_TYPE_UCHAR:
592s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
592s # break;
592s # case G_TYPE_INT:
592s # ret = (g_value_get_int (a) == g_value_get_int (b));
592s # break;
592s # case G_TYPE_UINT:
592s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
592s # break;
592s # case G_TYPE_INT64:
592s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
592s # break;
592s # case G_TYPE_UINT64:
592s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
592s # break;
592s # case G_TYPE_DOUBLE:
592s # {
592s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
592s # gdouble da = g_value_get_double (a);
592s # gdouble db = g_value_get_double (b);
592s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
592s # }
592s # break;
592s # case G_TYPE_STRING:
592s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
592s # break;
592s # case G_TYPE_VARIANT:
592s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
592s # break;
592s # default:
592s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
592s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
592s # else
592s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
592s # break;
592s # }
592s # return ret;
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.SignalingIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectSignalingIface
592s # * @title: OrgProjectSignalingIface
592s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.SignalingIface ---- */
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SimpleSignal",
592s # NULL,
592s # NULL
592s # },
592s # "simple-signal"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
592s # {
592s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.SignalingIface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-signaling-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_signaling_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_signaling_iface_signal_marshal_simple_signal (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VOID (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectSignalingIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.SignalingIface.
592s # */
592s #
592s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectSignalingIface::simple-signal:
592s # * @object: A #OrgProjectSignalingIface.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
592s # g_signal_new ("simple-signal",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
592s # NULL,
592s # NULL,
592s # org_project_signaling_iface_signal_marshal_simple_signal,
592s # G_TYPE_NONE,
592s # 0);
592s #
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_emit_simple_signal:
592s # * @object: A #OrgProjectSignalingIface.
592s # *
592s # * Emits the "SimpleSignal" D-Bus signal.
592s # */
592s # void
592s # org_project_signaling_iface_emit_simple_signal (
592s # OrgProjectSignalingIface *object)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxy:
592s # *
592s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_signaling_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeleton:
592s # *
592s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectSignalingIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectSignalingIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_signaling_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_signaling_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_signaling_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
592s # {
592s # _org_project_signaling_iface_skeleton_handle_method_call,
592s # _org_project_signaling_iface_skeleton_handle_get_property,
592s # _org_project_signaling_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_signaling_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_signaling_iface_on_signal_simple_signal (
592s # OrgProjectSignalingIface *object)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_signaling_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
592s # {
592s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
592s # }
592s #
592s # /**
592s # * org_project_signaling_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectSignalingIface *
592s # org_project_signaling_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
592s # }
592s #
592s # /* ------------------------------------------------------------------------
592s # * Code for interface org.project.OtherSignalingIface
592s # * ------------------------------------------------------------------------
592s # */
592s #
592s # /**
592s # * SECTION:OrgProjectOtherSignalingIface
592s # * @title: OrgProjectOtherSignalingIface
592s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
592s # *
592s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
592s # */
592s #
592s # enum
592s # {
592s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
592s # };
592s #
592s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
592s #
592s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
592s #
592s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
592s # {
592s # {
592s # -1,
592s # (gchar *) "SimpleSignal",
592s # NULL,
592s # NULL
592s # },
592s # "simple-signal"
592s # };
592s #
592s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
592s # {
592s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
592s # NULL
592s # };
592s #
592s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
592s # {
592s # {
592s # -1,
592s # (gchar *) "org.project.OtherSignalingIface",
592s # NULL,
592s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
592s # NULL,
592s # NULL
592s # },
592s # "org-project-other-signaling-iface",
592s # };
592s #
592s #
592s # /**
592s # * org_project_other_signaling_iface_interface_info:
592s # *
592s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
592s # *
592s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
592s # */
592s # GDBusInterfaceInfo *
592s # org_project_other_signaling_iface_interface_info (void)
592s # {
592s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_override_properties:
592s # * @klass: The class structure for a #GObject derived class.
592s # * @property_id_begin: The property id to assign to the first overridden property.
592s # *
592s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
592s # * The properties are overridden in the order they are defined.
592s # *
592s # * Returns: The last property id.
592s # */
592s # guint
592s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
592s # {
592s # return property_id_begin - 1;
592s # }
592s #
592s #
592s # inline static void
592s # org_project_other_signaling_iface_signal_marshal_simple_signal (
592s # GClosure *closure,
592s # GValue *return_value,
592s # unsigned int n_param_values,
592s # const GValue *param_values,
592s # void *invocation_hint,
592s # void *marshal_data)
592s # {
592s # g_cclosure_marshal_VOID__VOID (closure,
592s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
592s # }
592s #
592s #
592s # /**
592s # * OrgProjectOtherSignalingIface:
592s # *
592s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherSignalingIfaceIface:
592s # * @parent_iface: The parent interface.
592s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
592s # *
592s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
592s # */
592s #
592s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
592s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
592s #
592s # static void
592s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
592s # {
592s # /* GObject signals for received D-Bus signals: */
592s # /**
592s # * OrgProjectOtherSignalingIface::simple-signal:
592s # * @object: A #OrgProjectOtherSignalingIface.
592s # *
592s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
592s # *
592s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
592s # */
592s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
592s # g_signal_new ("simple-signal",
592s # G_TYPE_FROM_INTERFACE (iface),
592s # G_SIGNAL_RUN_LAST,
592s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
592s # NULL,
592s # NULL,
592s # org_project_other_signaling_iface_signal_marshal_simple_signal,
592s # G_TYPE_NONE,
592s # 0);
592s #
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_emit_simple_signal:
592s # * @object: A #OrgProjectOtherSignalingIface.
592s # *
592s # * Emits the "SimpleSignal" D-Bus signal.
592s # */
592s # void
592s # org_project_other_signaling_iface_emit_simple_signal (
592s # OrgProjectOtherSignalingIface *object)
592s # {
592s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
592s # }
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherSignalingIfaceProxy:
592s # *
592s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherSignalingIfaceProxyClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
592s # */
592s #
592s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
592s # {
592s # GData *qdata;
592s # };
592s #
592s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
592s # {
592s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
592s # g_datalist_clear (&proxy->priv->qdata);
592s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
592s # guint prop_id G_GNUC_UNUSED,
592s # const GValue *value G_GNUC_UNUSED,
592s # GParamSpec *pspec G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
592s # const gchar *sender_name G_GNUC_UNUSED,
592s # const gchar *signal_name,
592s # GVariant *parameters)
592s # {
592s # _ExtendedGDBusSignalInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # gsize n;
592s # guint signal_id;
592s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
592s # if (info == NULL)
592s # return;
592s # num_params = g_variant_n_children (parameters);
592s # paramv = g_new0 (GValue, num_params + 1);
592s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[0], proxy);
592s # g_variant_iter_init (&iter, parameters);
592s # n = 1;
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
592s # g_signal_emitv (paramv, signal_id, 0, NULL);
592s # for (n = 0; n < num_params + 1; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
592s # GVariant *changed_properties,
592s # const gchar *const *invalidated_properties)
592s # {
592s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
592s # guint n;
592s # const gchar *key;
592s # GVariantIter *iter;
592s # _ExtendedGDBusPropertyInfo *info;
592s # g_variant_get (changed_properties, "a{sv}", &iter);
592s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
592s # g_datalist_remove_data (&proxy->priv->qdata, key);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # g_variant_iter_free (iter);
592s # for (n = 0; invalidated_properties[n] != NULL; n++)
592s # {
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
592s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
592s # if (info != NULL)
592s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
592s # }
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
592s # #else
592s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
592s # #endif
592s #
592s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusProxyClass *proxy_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
592s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
592s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
592s #
592s # proxy_class = G_DBUS_PROXY_CLASS (klass);
592s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
592s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_signaling_iface_proxy_new (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherSignalingIface *
592s # org_project_other_signaling_iface_proxy_new_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new_sync:
592s # * @connection: A #GDBusConnection.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherSignalingIface *
592s # org_project_other_signaling_iface_proxy_new_sync (
592s # GDBusConnection *connection,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new_for_bus:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
592s # * @user_data: User data to pass to @callback.
592s # *
592s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
592s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
592s # *
592s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
592s # */
592s # void
592s # org_project_other_signaling_iface_proxy_new_for_bus (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GAsyncReadyCallback callback,
592s # gpointer user_data)
592s # {
592s # 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);
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
592s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
592s # * @error: Return location for error or %NULL
592s # *
592s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherSignalingIface *
592s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
592s # GAsyncResult *res,
592s # GError **error)
592s # {
592s # GObject *ret;
592s # GObject *source_object;
592s # source_object = g_async_result_get_source_object (res);
592s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
592s # g_object_unref (source_object);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
592s # * @bus_type: A #GBusType.
592s # * @flags: Flags from the #GDBusProxyFlags enumeration.
592s # * @name: A bus name (well-known or unique).
592s # * @object_path: An object path.
592s # * @cancellable: (nullable): A #GCancellable or %NULL.
592s # * @error: Return location for error or %NULL
592s # *
592s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
592s # *
592s # * The calling thread is blocked until a reply is received.
592s # *
592s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
592s # */
592s # OrgProjectOtherSignalingIface *
592s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
592s # GBusType bus_type,
592s # GDBusProxyFlags flags,
592s # const gchar *name,
592s # const gchar *object_path,
592s # GCancellable *cancellable,
592s # GError **error)
592s # {
592s # GInitable *ret;
592s # 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);
592s # if (ret != NULL)
592s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
592s # else
592s # return NULL;
592s # }
592s #
592s #
592s # /* ------------------------------------------------------------------------ */
592s #
592s # /**
592s # * OrgProjectOtherSignalingIfaceSkeleton:
592s # *
592s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
592s # */
592s #
592s # /**
592s # * OrgProjectOtherSignalingIfaceSkeletonClass:
592s # * @parent_class: The parent class.
592s # *
592s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
592s # */
592s #
592s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
592s # {
592s # GValue *properties;
592s # GList *changed_properties;
592s # GSource *changed_properties_idle_source;
592s # GMainContext *context;
592s # GMutex lock;
592s # };
592s #
592s # static void
592s # _org_project_other_signaling_iface_skeleton_handle_method_call (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name,
592s # const gchar *method_name,
592s # GVariant *parameters,
592s # GDBusMethodInvocation *invocation,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
592s # _ExtendedGDBusMethodInfo *info;
592s # GVariantIter iter;
592s # GVariant *child;
592s # GValue *paramv;
592s # gsize num_params;
592s # guint num_extra;
592s # gsize n;
592s # guint signal_id;
592s # GValue return_value = G_VALUE_INIT;
592s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
592s # g_assert (info != NULL);
592s # num_params = g_variant_n_children (parameters);
592s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
592s # n = 0;
592s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
592s # g_value_set_object (¶mv[n++], skeleton);
592s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
592s # g_value_set_object (¶mv[n++], invocation);
592s # if (info->pass_fdlist)
592s # {
592s # #ifdef G_OS_UNIX
592s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
592s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
592s # #else
592s # g_assert_not_reached ();
592s # #endif
592s # }
592s # g_variant_iter_init (&iter, parameters);
592s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
592s # {
592s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
592s # if (arg_info->use_gvariant)
592s # {
592s # g_value_init (¶mv[n], G_TYPE_VARIANT);
592s # g_value_set_variant (¶mv[n], child);
592s # n++;
592s # }
592s # else
592s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
592s # g_variant_unref (child);
592s # }
592s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
592s # g_value_init (&return_value, G_TYPE_BOOLEAN);
592s # g_signal_emitv (paramv, signal_id, 0, &return_value);
592s # if (!g_value_get_boolean (&return_value))
592s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
592s # g_value_unset (&return_value);
592s # for (n = 0; n < num_params + num_extra; n++)
592s # g_value_unset (¶mv[n]);
592s # g_free (paramv);
592s # }
592s #
592s # static GVariant *
592s # _org_project_other_signaling_iface_skeleton_handle_get_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # GVariant *ret;
592s # ret = NULL;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # g_value_init (&value, pspec->value_type);
592s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
592s # g_value_unset (&value);
592s # }
592s # return ret;
592s # }
592s #
592s # static gboolean
592s # _org_project_other_signaling_iface_skeleton_handle_set_property (
592s # GDBusConnection *connection G_GNUC_UNUSED,
592s # const gchar *sender G_GNUC_UNUSED,
592s # const gchar *object_path G_GNUC_UNUSED,
592s # const gchar *interface_name G_GNUC_UNUSED,
592s # const gchar *property_name,
592s # GVariant *variant,
592s # GError **error,
592s # gpointer user_data)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
592s # GValue value = G_VALUE_INIT;
592s # GParamSpec *pspec;
592s # _ExtendedGDBusPropertyInfo *info;
592s # gboolean ret;
592s # ret = FALSE;
592s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
592s # g_assert (info != NULL);
592s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
592s # if (pspec == NULL)
592s # {
592s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
592s # }
592s # else
592s # {
592s # if (info->use_gvariant)
592s # g_value_set_variant (&value, variant);
592s # else
592s # g_dbus_gvariant_to_gvalue (variant, &value);
592s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
592s # g_value_unset (&value);
592s # ret = TRUE;
592s # }
592s # return ret;
592s # }
592s #
592s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
592s # {
592s # _org_project_other_signaling_iface_skeleton_handle_method_call,
592s # _org_project_other_signaling_iface_skeleton_handle_get_property,
592s # _org_project_other_signaling_iface_skeleton_handle_set_property,
592s # {NULL}
592s # };
592s #
592s # static GDBusInterfaceInfo *
592s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return org_project_other_signaling_iface_interface_info ();
592s # }
592s #
592s # static GDBusInterfaceVTable *
592s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
592s # {
592s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
592s # }
592s #
592s # static GVariant *
592s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
592s #
592s # GVariantBuilder builder;
592s # guint n;
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
592s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #else
592s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
592s # #endif
592s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
592s # goto out;
592s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
592s # {
592s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
592s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
592s # {
592s # GVariant *value;
592s # 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);
592s # if (value != NULL)
592s # {
592s # g_variant_take_ref (value);
592s # g_variant_builder_add (&builder, "{sv}", info->name, value);
592s # g_variant_unref (value);
592s # }
592s # }
592s # }
592s # out:
592s # return g_variant_builder_end (&builder);
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
592s # {
592s # }
592s #
592s # static void
592s # _org_project_other_signaling_iface_on_signal_simple_signal (
592s # OrgProjectOtherSignalingIface *object)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
592s #
592s # GList *connections, *l;
592s # GVariant *signal_variant;
592s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
592s #
592s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
592s # for (l = connections; l != NULL; l = l->next)
592s # {
592s # GDBusConnection *connection = l->data;
592s # g_dbus_connection_emit_signal (connection,
592s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
592s # signal_variant, NULL);
592s # }
592s # g_variant_unref (signal_variant);
592s # g_list_free_full (connections, g_object_unref);
592s # }
592s #
592s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
592s #
592s # #else
592s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
592s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
592s #
592s # #endif
592s # static void
592s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
592s # {
592s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
592s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
592s # if (skeleton->priv->changed_properties_idle_source != NULL)
592s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
592s # g_main_context_unref (skeleton->priv->context);
592s # g_mutex_clear (&skeleton->priv->lock);
592s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
592s # {
592s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
592s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
592s # #else
592s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
592s # #endif
592s #
592s # g_mutex_init (&skeleton->priv->lock);
592s # skeleton->priv->context = g_main_context_ref_thread_default ();
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
592s # {
592s # GObjectClass *gobject_class;
592s # GDBusInterfaceSkeletonClass *skeleton_class;
592s #
592s # gobject_class = G_OBJECT_CLASS (klass);
592s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
592s #
592s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
592s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
592s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
592s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
592s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
592s #
592s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
592s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
592s # #endif
592s # }
592s #
592s # static void
592s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
592s # {
592s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
592s # }
592s #
592s # /**
592s # * org_project_other_signaling_iface_skeleton_new:
592s # *
592s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
592s # *
592s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
592s # */
592s # OrgProjectOtherSignalingIface *
592s # org_project_other_signaling_iface_skeleton_new (void)
592s # {
592s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
592s # }
592s # Error:
593s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmphqvgd1h7
593s # /tmp/tmphqvgd1h7/tmpqjxmh242.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpqjxmh242.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_b",
593s # (gchar *) "b",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalB",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-b"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__BOOLEAN (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-b:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_b: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
593s # g_signal_new ("single-arg-signal-b",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_BOOLEAN);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_b:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_b: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalB" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_b (
593s # OrgProjectSignalingIface *object,
593s # gboolean arg_arg_b)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
593s # OrgProjectSignalingIface *object,
593s # gboolean arg_arg_b)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
593s # arg_arg_b));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpnboqysf9.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpnboqysf9.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_y",
593s # (gchar *) "y",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalY",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-y"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__UCHAR (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-y:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_y: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
593s # g_signal_new ("single-arg-signal-y",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_UCHAR);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_y:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_y: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalY" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_y (
593s # OrgProjectSignalingIface *object,
593s # guchar arg_arg_y)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
593s # OrgProjectSignalingIface *object,
593s # guchar arg_arg_y)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
593s # arg_arg_y));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpqq7cpbtb.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpqq7cpbtb.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_n",
593s # (gchar *) "n",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalN",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-n"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__INT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-n:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_n: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
593s # g_signal_new ("single-arg-signal-n",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_INT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_n:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_n: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalN" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_n (
593s # OrgProjectSignalingIface *object,
593s # gint16 arg_arg_n)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
593s # OrgProjectSignalingIface *object,
593s # gint16 arg_arg_n)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
593s # arg_arg_n));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp5662fzfi.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp5662fzfi.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_q",
593s # (gchar *) "q",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalQ",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-q"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__UINT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-q:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_q: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
593s # g_signal_new ("single-arg-signal-q",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_UINT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_q:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_q: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalQ" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_q (
593s # OrgProjectSignalingIface *object,
593s # guint16 arg_arg_q)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
593s # OrgProjectSignalingIface *object,
593s # guint16 arg_arg_q)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
593s # arg_arg_q));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpuzph7gpy.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpuzph7gpy.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_i",
593s # (gchar *) "i",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalI",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-i"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__INT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-i:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_i: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
593s # g_signal_new ("single-arg-signal-i",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_INT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_i:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_i: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalI" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_i (
593s # OrgProjectSignalingIface *object,
593s # gint arg_arg_i)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
593s # OrgProjectSignalingIface *object,
593s # gint arg_arg_i)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
593s # arg_arg_i));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp7uehza9t.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp7uehza9t.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_u",
593s # (gchar *) "u",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalU",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-u"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__UINT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-u:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_u: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
593s # g_signal_new ("single-arg-signal-u",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_UINT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_u:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_u: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalU" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_u (
593s # OrgProjectSignalingIface *object,
593s # guint arg_arg_u)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
593s # OrgProjectSignalingIface *object,
593s # guint arg_arg_u)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
593s # arg_arg_u));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpg6a1c_o_.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpg6a1c_o_.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # static void
593s # _g_dbus_codegen_marshal_VOID__INT64 (
593s # GClosure *closure,
593s # GValue *return_value G_GNUC_UNUSED,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint G_GNUC_UNUSED,
593s # void *marshal_data)
593s # {
593s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
593s # (void *data1,
593s # gint64 arg_arg_x,
593s # void *data2);
593s # _GDbusCodegenMarshalVoid_Int64Func callback;
593s # GCClosure *cc = (GCClosure*) closure;
593s # void *data1, *data2;
593s #
593s # g_return_if_fail (n_param_values == 2);
593s #
593s # if (G_CCLOSURE_SWAP_DATA (closure))
593s # {
593s # data1 = closure->data;
593s # data2 = g_value_peek_pointer (param_values + 0);
593s # }
593s # else
593s # {
593s # data1 = g_value_peek_pointer (param_values + 0);
593s # data2 = closure->data;
593s # }
593s #
593s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
593s # (marshal_data ? marshal_data : cc->callback);
593s #
593s # callback (data1,
593s # g_marshal_value_peek_int64 (param_values + 1),
593s # data2);
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_x",
593s # (gchar *) "x",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalX",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-x"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-x:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_x: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
593s # g_signal_new ("single-arg-signal-x",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_INT64);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_x:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_x: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalX" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_x (
593s # OrgProjectSignalingIface *object,
593s # gint64 arg_arg_x)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
593s # OrgProjectSignalingIface *object,
593s # gint64 arg_arg_x)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
593s # arg_arg_x));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpaoxt3sg5.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpaoxt3sg5.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # static void
593s # _g_dbus_codegen_marshal_VOID__UINT64 (
593s # GClosure *closure,
593s # GValue *return_value G_GNUC_UNUSED,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint G_GNUC_UNUSED,
593s # void *marshal_data)
593s # {
593s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
593s # (void *data1,
593s # guint64 arg_arg_t,
593s # void *data2);
593s # _GDbusCodegenMarshalVoid_Uint64Func callback;
593s # GCClosure *cc = (GCClosure*) closure;
593s # void *data1, *data2;
593s #
593s # g_return_if_fail (n_param_values == 2);
593s #
593s # if (G_CCLOSURE_SWAP_DATA (closure))
593s # {
593s # data1 = closure->data;
593s # data2 = g_value_peek_pointer (param_values + 0);
593s # }
593s # else
593s # {
593s # data1 = g_value_peek_pointer (param_values + 0);
593s # data2 = closure->data;
593s # }
593s #
593s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
593s # (marshal_data ? marshal_data : cc->callback);
593s #
593s # callback (data1,
593s # g_marshal_value_peek_uint64 (param_values + 1),
593s # data2);
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_t",
593s # (gchar *) "t",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalT",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-t"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-t:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_t: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
593s # g_signal_new ("single-arg-signal-t",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_UINT64);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_t:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_t: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalT" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_t (
593s # OrgProjectSignalingIface *object,
593s # guint64 arg_arg_t)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
593s # OrgProjectSignalingIface *object,
593s # guint64 arg_arg_t)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
593s # arg_arg_t));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpmrxu8j57.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpmrxu8j57.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_d",
593s # (gchar *) "d",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalD",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-d"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__DOUBLE (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-d:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_d: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
593s # g_signal_new ("single-arg-signal-d",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_DOUBLE);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_d:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_d: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalD" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_d (
593s # OrgProjectSignalingIface *object,
593s # gdouble arg_arg_d)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
593s # OrgProjectSignalingIface *object,
593s # gdouble arg_arg_d)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
593s # arg_arg_d));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmplvjdkhbc.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmplvjdkhbc.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_s",
593s # (gchar *) "s",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalS",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-s"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__STRING (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-s:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_s: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
593s # g_signal_new ("single-arg-signal-s",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRING);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_s:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_s: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalS" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_s (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_s)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_s)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
593s # arg_arg_s));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp_zvnr0e7.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp_zvnr0e7.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_o",
593s # (gchar *) "o",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalO",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-o"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__STRING (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-o:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_o: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
593s # g_signal_new ("single-arg-signal-o",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRING);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_o:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_o: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalO" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_o (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_o)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_o)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
593s # arg_arg_o));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp4qzkmf05.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp4qzkmf05.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_g",
593s # (gchar *) "g",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalG",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-g"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__STRING (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-g:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_g: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
593s # g_signal_new ("single-arg-signal-g",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRING);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_g:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_g: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalG" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_g (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_g)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_g)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
593s # arg_arg_g));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp4kvr8q7_.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp4kvr8q7_.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_h",
593s # (gchar *) "h",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalH",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-h"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VARIANT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-h:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_h: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
593s # g_signal_new ("single-arg-signal-h",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_VARIANT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_h:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_h: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalH" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_h (
593s # OrgProjectSignalingIface *object,
593s # GVariant *arg_arg_h)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
593s # OrgProjectSignalingIface *object,
593s # GVariant *arg_arg_h)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
593s # arg_arg_h));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp94cg7p0g.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp94cg7p0g.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_ay",
593s # (gchar *) "ay",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalAy",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-ay"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__STRING (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-ay:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_ay: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
593s # g_signal_new ("single-arg-signal-ay",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRING);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_ay:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_ay: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalAy" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_ay (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_ay)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
593s # OrgProjectSignalingIface *object,
593s # const gchar *arg_arg_ay)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
593s # arg_arg_ay));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp7qhfepmh.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp7qhfepmh.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_as",
593s # (gchar *) "as",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalAs",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-as"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__BOXED (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-as:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_as: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
593s # g_signal_new ("single-arg-signal-as",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRV);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_as:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_as: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalAs" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_as (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_as)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_as)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
593s # arg_arg_as));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp6w8rm496.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp6w8rm496.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_ao",
593s # (gchar *) "ao",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalAo",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-ao"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__BOXED (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-ao:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_ao: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
593s # g_signal_new ("single-arg-signal-ao",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRV);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_ao:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_ao: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalAo" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_ao (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_ao)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_ao)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
593s # arg_arg_ao));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmpkq7tzpu5.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmpkq7tzpu5.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_aay",
593s # (gchar *) "aay",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalAay",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-aay"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__BOXED (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-aay:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_aay: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
593s # g_signal_new ("single-arg-signal-aay",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_STRV);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_aay:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_aay: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalAay" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_aay (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_aay)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
593s # OrgProjectSignalingIface *object,
593s # const gchar *const *arg_arg_aay)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
593s # arg_arg_aay));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # /tmp/tmphqvgd1h7/tmp5qvey1hq.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmphqvgd1h7/tmp5qvey1hq.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
593s # {
593s # {
593s # -1,
593s # (gchar *) "arg_asv",
593s # (gchar *) "a{sv}",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SingleArgSignalAsv",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
593s # NULL
593s # },
593s # "single-arg-signal-asv"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VARIANT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::single-arg-signal-asv:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_asv: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
593s # g_signal_new ("single-arg-signal-asv",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
593s # G_TYPE_NONE,
593s # 1, G_TYPE_VARIANT);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_single_arg_signal_asv:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_arg_asv: Argument to pass with the signal.
593s # *
593s # * Emits the "SingleArgSignalAsv" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_single_arg_signal_asv (
593s # OrgProjectSignalingIface *object,
593s # GVariant *arg_arg_asv)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
593s # OrgProjectSignalingIface *object,
593s # GVariant *arg_arg_asv)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
593s # arg_arg_asv));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpqeotd8rq
593s # /tmp/tmpqeotd8rq/tmpkmg6z4tz.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqeotd8rq/tmpkmg6z4tz.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # static void
593s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
593s # GClosure *closure,
593s # GValue *return_value G_GNUC_UNUSED,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint G_GNUC_UNUSED,
593s # void *marshal_data)
593s # {
593s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
593s # (void *data1,
593s # gboolean arg_an_b,
593s # guchar arg_an_y,
593s # gint16 arg_an_n,
593s # guint16 arg_an_q,
593s # gint arg_an_i,
593s # guint arg_an_u,
593s # gint64 arg_an_x,
593s # guint64 arg_an_t,
593s # gdouble arg_an_d,
593s # const gchar *arg_an_s,
593s # const gchar *arg_an_o,
593s # const gchar *arg_an_g,
593s # GVariant *arg_an_h,
593s # const gchar *arg_an_ay,
593s # const gchar *const *arg_an_as,
593s # const gchar *const *arg_an_ao,
593s # const gchar *const *arg_an_aay,
593s # GVariant *arg_an_asv,
593s # void *data2);
593s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
593s # GCClosure *cc = (GCClosure*) closure;
593s # void *data1, *data2;
593s #
593s # g_return_if_fail (n_param_values == 19);
593s #
593s # if (G_CCLOSURE_SWAP_DATA (closure))
593s # {
593s # data1 = closure->data;
593s # data2 = g_value_peek_pointer (param_values + 0);
593s # }
593s # else
593s # {
593s # data1 = g_value_peek_pointer (param_values + 0);
593s # data2 = closure->data;
593s # }
593s #
593s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
593s # (marshal_data ? marshal_data : cc->callback);
593s #
593s # callback (data1,
593s # g_marshal_value_peek_boolean (param_values + 1),
593s # g_marshal_value_peek_uchar (param_values + 2),
593s # g_marshal_value_peek_int (param_values + 3),
593s # g_marshal_value_peek_uint (param_values + 4),
593s # g_marshal_value_peek_int (param_values + 5),
593s # g_marshal_value_peek_uint (param_values + 6),
593s # g_marshal_value_peek_int64 (param_values + 7),
593s # g_marshal_value_peek_uint64 (param_values + 8),
593s # g_marshal_value_peek_double (param_values + 9),
593s # g_marshal_value_peek_string (param_values + 10),
593s # g_marshal_value_peek_string (param_values + 11),
593s # g_marshal_value_peek_string (param_values + 12),
593s # g_marshal_value_peek_variant (param_values + 13),
593s # g_marshal_value_peek_string (param_values + 14),
593s # g_marshal_value_peek_boxed (param_values + 15),
593s # g_marshal_value_peek_boxed (param_values + 16),
593s # g_marshal_value_peek_boxed (param_values + 17),
593s # g_marshal_value_peek_variant (param_values + 18),
593s # data2);
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.SignalingIface
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectSignalingIface
593s # * @title: OrgProjectSignalingIface
593s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
593s # };
593s #
593s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
593s #
593s # /* ---- Introspection data for org.project.SignalingIface ---- */
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SimpleSignal",
593s # NULL,
593s # NULL
593s # },
593s # "simple-signal"
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_b",
593s # (gchar *) "b",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_y",
593s # (gchar *) "y",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_n",
593s # (gchar *) "n",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_q",
593s # (gchar *) "q",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_i",
593s # (gchar *) "i",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_u",
593s # (gchar *) "u",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_x",
593s # (gchar *) "x",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_t",
593s # (gchar *) "t",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_d",
593s # (gchar *) "d",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_s",
593s # (gchar *) "s",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_o",
593s # (gchar *) "o",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_g",
593s # (gchar *) "g",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_h",
593s # (gchar *) "h",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_ay",
593s # (gchar *) "ay",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_as",
593s # (gchar *) "as",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_ao",
593s # (gchar *) "ao",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_aay",
593s # (gchar *) "aay",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
593s # {
593s # {
593s # -1,
593s # (gchar *) "an_asv",
593s # (gchar *) "a{sv}",
593s # NULL
593s # },
593s # FALSE
593s # };
593s #
593s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
593s # {
593s # {
593s # -1,
593s # (gchar *) "SignalWithManyArgs",
593s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
593s # NULL
593s # },
593s # "signal-with-many-args"
593s # };
593s #
593s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
593s # {
593s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
593s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.SignalingIface",
593s # NULL,
593s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-signaling-iface",
593s # };
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_signaling_iface_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_simple_signal (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectSignalingIface:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceIface:
593s # * @parent_iface: The parent interface.
593s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
593s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.SignalingIface.
593s # */
593s #
593s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
593s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * OrgProjectSignalingIface::simple-signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
593s # g_signal_new ("simple-signal",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_simple_signal,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /**
593s # * OrgProjectSignalingIface::signal-with-many-args:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_an_b: Argument.
593s # * @arg_an_y: Argument.
593s # * @arg_an_n: Argument.
593s # * @arg_an_q: Argument.
593s # * @arg_an_i: Argument.
593s # * @arg_an_u: Argument.
593s # * @arg_an_x: Argument.
593s # * @arg_an_t: Argument.
593s # * @arg_an_d: Argument.
593s # * @arg_an_s: Argument.
593s # * @arg_an_o: Argument.
593s # * @arg_an_g: Argument.
593s # * @arg_an_h: Argument.
593s # * @arg_an_ay: Argument.
593s # * @arg_an_as: Argument.
593s # * @arg_an_ao: Argument.
593s # * @arg_an_aay: Argument.
593s # * @arg_an_asv: Argument.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
593s # g_signal_new ("signal-with-many-args",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
593s # NULL,
593s # NULL,
593s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
593s # G_TYPE_NONE,
593s # 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);
593s #
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_simple_signal:
593s # * @object: A #OrgProjectSignalingIface.
593s # *
593s # * Emits the "SimpleSignal" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_emit_signal_with_many_args:
593s # * @object: A #OrgProjectSignalingIface.
593s # * @arg_an_b: Argument to pass with the signal.
593s # * @arg_an_y: Argument to pass with the signal.
593s # * @arg_an_n: Argument to pass with the signal.
593s # * @arg_an_q: Argument to pass with the signal.
593s # * @arg_an_i: Argument to pass with the signal.
593s # * @arg_an_u: Argument to pass with the signal.
593s # * @arg_an_x: Argument to pass with the signal.
593s # * @arg_an_t: Argument to pass with the signal.
593s # * @arg_an_d: Argument to pass with the signal.
593s # * @arg_an_s: Argument to pass with the signal.
593s # * @arg_an_o: Argument to pass with the signal.
593s # * @arg_an_g: Argument to pass with the signal.
593s # * @arg_an_h: Argument to pass with the signal.
593s # * @arg_an_ay: Argument to pass with the signal.
593s # * @arg_an_as: Argument to pass with the signal.
593s # * @arg_an_ao: Argument to pass with the signal.
593s # * @arg_an_aay: Argument to pass with the signal.
593s # * @arg_an_asv: Argument to pass with the signal.
593s # *
593s # * Emits the "SignalWithManyArgs" D-Bus signal.
593s # */
593s # void
593s # org_project_signaling_iface_emit_signal_with_many_args (
593s # OrgProjectSignalingIface *object,
593s # gboolean arg_an_b,
593s # guchar arg_an_y,
593s # gint16 arg_an_n,
593s # guint16 arg_an_q,
593s # gint arg_an_i,
593s # guint arg_an_u,
593s # gint64 arg_an_x,
593s # guint64 arg_an_t,
593s # gdouble arg_an_d,
593s # const gchar *arg_an_s,
593s # const gchar *arg_an_o,
593s # const gchar *arg_an_g,
593s # GVariant *arg_an_h,
593s # const gchar *arg_an_ay,
593s # const gchar *const *arg_an_as,
593s # const gchar *const *arg_an_ao,
593s # const gchar *const *arg_an_aay,
593s # GVariant *arg_an_asv)
593s # {
593s # 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);
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxy:
593s # *
593s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceProxy.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
593s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
593s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_signaling_iface_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_SIGNALING_IFACE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeleton:
593s # *
593s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectSignalingIfaceSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
593s # */
593s #
593s # struct _OrgProjectSignalingIfaceSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_signaling_iface_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_signaling_iface_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_signaling_iface_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
593s # {
593s # _org_project_signaling_iface_skeleton_handle_method_call,
593s # _org_project_signaling_iface_skeleton_handle_get_property,
593s # _org_project_signaling_iface_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_signaling_iface_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_simple_signal (
593s # OrgProjectSignalingIface *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void
593s # _org_project_signaling_iface_on_signal_signal_with_many_args (
593s # OrgProjectSignalingIface *object,
593s # gboolean arg_an_b,
593s # guchar arg_an_y,
593s # gint16 arg_an_n,
593s # guint16 arg_an_q,
593s # gint arg_an_i,
593s # guint arg_an_u,
593s # gint64 arg_an_x,
593s # guint64 arg_an_t,
593s # gdouble arg_an_d,
593s # const gchar *arg_an_s,
593s # const gchar *arg_an_o,
593s # const gchar *arg_an_g,
593s # GVariant *arg_an_h,
593s # const gchar *arg_an_ay,
593s # const gchar *const *arg_an_as,
593s # const gchar *const *arg_an_ao,
593s # const gchar *const *arg_an_aay,
593s # GVariant *arg_an_asv)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
593s # arg_an_b,
593s # arg_an_y,
593s # arg_an_n,
593s # arg_an_q,
593s # arg_an_i,
593s # arg_an_u,
593s # arg_an_x,
593s # arg_an_t,
593s # arg_an_d,
593s # arg_an_s,
593s # arg_an_o,
593s # arg_an_g,
593s # arg_an_h,
593s # arg_an_ay,
593s # arg_an_as,
593s # arg_an_ao,
593s # arg_an_aay,
593s # arg_an_asv));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_signaling_iface_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
593s # {
593s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
593s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
593s # }
593s #
593s # /**
593s # * org_project_signaling_iface_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
593s # *
593s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
593s # */
593s # OrgProjectSignalingIface *
593s # org_project_signaling_iface_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
593s # }
593s # Error:
593s ok 25 __main__.TestCodegen.test_generate_valid_docbook
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpai9y8h8d
593s # /tmp/tmpai9y8h8d/tmpbmhfxlot.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpai9y8h8d/tmpbmhfxlot.xml', '--generate-docbook', 'test']
593s # Return code: 0
593s # Output:
593s #
593s # Error:
593s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpmcqf0kej
593s # /tmp/tmpmcqf0kej/tmp76opz3b1.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmcqf0kej/tmp76opz3b1.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
593s # Return code: 1
593s # Output:
593s #
593s # Error:
593s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62))
593s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpe6qb_d6_
593s # /tmp/tmpe6qb_d6_/tmpsg32caju.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpe6qb_d6_/tmpsg32caju.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmp_i_orfog
593s # /tmp/tmp_i_orfog/tmp2iwc9oim.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_i_orfog/tmp2iwc9oim.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
593s # Return code: 1
593s # Output:
593s #
593s # Error:
593s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6))
593s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmph6ov3i65
593s # /tmp/tmph6ov3i65/tmp5gkpw_p2.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmph6ov3i65/tmp5gkpw_p2.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmp9q3okfk8
593s # /tmp/tmp9q3okfk8/tmpbeooqzfw.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9q3okfk8/tmpbeooqzfw.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmprpvejuqn
593s # /tmp/tmprpvejuqn/tmps46gbqul.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmprpvejuqn/tmps46gbqul.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
593s # Return code: 1
593s # Output:
593s #
593s # Error:
593s # ERROR: Unrecognized --glib-min-required string ‘hello mum’
593s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpklyw_pj0
593s # /tmp/tmpklyw_pj0/tmpfvjb4dg_.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpklyw_pj0/tmpfvjb4dg_.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpo3z1h9ud
593s # /tmp/tmpo3z1h9ud/tmpukgze4es.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpo3z1h9ud/tmpukgze4es.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
593s # Return code: 1
593s # Output:
593s #
593s # Error:
593s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30
593s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpj3y_en2j
593s # /tmp/tmpj3y_en2j/tmp42tu2baz.xml:
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj3y_en2j/tmp42tu2baz.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s ok 35 __main__.TestCodegen.test_help
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmp1ff42_6y
593s # Running: ['/usr/bin/gdbus-codegen', '--help']
593s # Return code: 0
593s # Output:
593s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
593s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
593s # [--c-generate-autocleanup {none,objects,all}]
593s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
593s # [--generate-rst OUTFILES] [--pragma-once]
593s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
593s # [--glib-min-required VERSION]
593s # [--glib-max-allowed VERSION]
593s # [--symbol-decorator SYMBOL_DECORATOR]
593s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
593s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
593s # [--generate-c-code OUTFILES | --header | --body |
593s # --interface-info-header | --interface-info-body]
593s # [--output FILE | --output-directory OUTDIR]
593s # FILE [FILE ...]
593s #
593s # D-Bus code and documentation generator
593s #
593s # positional arguments:
593s # FILE D-Bus introspection XML file
593s #
593s # options:
593s # -h, --help show this help message and exit
593s # --interface-prefix PREFIX
593s # String to strip from D-Bus interface names for code
593s # and docs
593s # --c-namespace NAMESPACE
593s # The namespace to use for generated C code
593s # --c-generate-object-manager
593s # Generate a GDBusObjectManagerClient subclass when
593s # generating C code
593s # --c-generate-autocleanup {none,objects,all}
593s # Generate autocleanup support
593s # --generate-docbook OUTFILES
593s # Generate Docbook in OUTFILES-org.Project.IFace.xml
593s # --generate-md OUTFILES
593s # Generate Markdown in OUTFILES-org.Project.IFace.md
593s # --generate-rst OUTFILES
593s # Generate reStructuredText in OUTFILES-
593s # org.Project.IFace.rst
593s # --pragma-once Use "pragma once" as the inclusion guard
593s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
593s # Add annotation (may be used several times)
593s # --glib-min-required VERSION
593s # Minimum version of GLib to be supported by the
593s # outputted code (default: 2.30)
593s # --glib-max-allowed VERSION
593s # Maximum version of GLib to be used by the outputted
593s # code (default: current GLib version)
593s # --symbol-decorator SYMBOL_DECORATOR
593s # Macro used to decorate a symbol in the outputted
593s # header, possibly to export symbols
593s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
593s # Additional header required for decorator specified by
593s # --symbol-decorator
593s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
593s # Additional define required for decorator specified by
593s # --symbol-decorator
593s # --generate-c-code OUTFILES
593s # Generate C code in OUTFILES.[ch]
593s # --header Generate C headers
593s # --body Generate C code
593s # --interface-info-header
593s # Generate GDBusInterfaceInfo C header
593s # --interface-info-body
593s # Generate GDBusInterfaceInfo C code
593s # --output FILE Write output into the specified file
593s # --output-directory OUTDIR
593s # Location to output generated files
593s # Error:
593s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpf110eqqp
593s # /tmp/tmpf110eqqp/tmpcat7cx_m.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf110eqqp/tmpcat7cx_m.xml', '--generate-rst', 'test']
593s # Return code: 0
593s # Output:
593s #
593s # Error:
593s #
593s # /tmp/tmpf110eqqp/tmpad8xyag1.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf110eqqp/tmpad8xyag1.xml', '--generate-md', 'test']
593s # Return code: 0
593s # Output:
593s #
593s # Error:
593s #
593s # /tmp/tmpf110eqqp/tmppacxsotb.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf110eqqp/tmppacxsotb.xml', '--generate-docbook', 'test']
593s # Return code: 0
593s # Output:
593s #
593s # Error:
593s ok 37 __main__.TestCodegen.test_no_args
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmprl00y9vq
593s # Running: ['/usr/bin/gdbus-codegen']
593s # Return code: 2
593s # Output:
593s #
593s # Error:
593s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
593s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
593s # [--c-generate-autocleanup {none,objects,all}]
593s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
593s # [--generate-rst OUTFILES] [--pragma-once]
593s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
593s # [--glib-min-required VERSION]
593s # [--glib-max-allowed VERSION]
593s # [--symbol-decorator SYMBOL_DECORATOR]
593s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
593s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
593s # [--generate-c-code OUTFILES | --header | --body |
593s # --interface-info-header | --interface-info-body]
593s # [--output FILE | --output-directory OUTDIR]
593s # FILE [FILE ...]
593s # gdbus-codegen: error: the following arguments are required: FILE
593s ok 38 __main__.TestCodegen.test_reproducible
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmp4m7p96xo
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4m7p96xo/tmpycoqri511.xml', '/tmp/tmp4m7p96xo/tmp1xn4luht2.xml', '--output', '-', '--header']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for org.project.Bar.Frobnicator */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
593s #
593s # struct _OrgProjectBarFrobnicator;
593s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
593s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
593s #
593s # struct _OrgProjectBarFrobnicatorIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s # gboolean (*handle_random_method) (
593s # OrgProjectBarFrobnicator *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # };
593s #
593s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
593s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void org_project_bar_frobnicator_complete_random_method (
593s # OrgProjectBarFrobnicator *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void org_project_bar_frobnicator_call_random_method (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean org_project_bar_frobnicator_call_random_method_finish (
593s # OrgProjectBarFrobnicator *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean org_project_bar_frobnicator_call_random_method_sync (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
593s #
593s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
593s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
593s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
593s #
593s # struct _OrgProjectBarFrobnicatorProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # OrgProjectBarFrobnicatorProxyPrivate *priv;
593s # };
593s #
593s # struct _OrgProjectBarFrobnicatorProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
593s # #endif
593s #
593s # void org_project_bar_frobnicator_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void org_project_bar_frobnicator_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
593s #
593s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
593s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
593s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
593s #
593s # struct _OrgProjectBarFrobnicatorSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
593s # };
593s #
593s # struct _OrgProjectBarFrobnicatorSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
593s # #endif
593s #
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for com.acme.Coyote */
593s #
593s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
593s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
593s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
593s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
593s #
593s # struct _ComAcmeCoyote;
593s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
593s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
593s #
593s # struct _ComAcmeCoyoteIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s #
593s #
593s # gboolean (*handle_attack) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # gboolean (*handle_run) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # gboolean (*handle_sleep) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # const gchar * (*get_mood) (ComAcmeCoyote *object);
593s #
593s # void (*surprised) (
593s # ComAcmeCoyote *object);
593s #
593s # };
593s #
593s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
593s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void com_acme_coyote_complete_run (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # void com_acme_coyote_complete_sleep (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # void com_acme_coyote_complete_attack (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus signal emissions functions: */
593s # void com_acme_coyote_emit_surprised (
593s # ComAcmeCoyote *object);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void com_acme_coyote_call_run (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_run_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_run_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_call_sleep (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_sleep_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_sleep_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_call_attack (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_attack_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_attack_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* D-Bus property accessors: */
593s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
593s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
593s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
593s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
593s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
593s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
593s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
593s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
593s #
593s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
593s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
593s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
593s #
593s # struct _ComAcmeCoyoteProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # ComAcmeCoyoteProxyPrivate *priv;
593s # };
593s #
593s # struct _ComAcmeCoyoteProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
593s # #endif
593s #
593s # void com_acme_coyote_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
593s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
593s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
593s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
593s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
593s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
593s #
593s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
593s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
593s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
593s #
593s # struct _ComAcmeCoyoteSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # ComAcmeCoyoteSkeletonPrivate *priv;
593s # };
593s #
593s # struct _ComAcmeCoyoteSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
593s # #endif
593s #
593s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4m7p96xo/tmp1xn4luht2.xml', '/tmp/tmp4m7p96xo/tmpycoqri511.xml', '--output', '-', '--header']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for org.project.Bar.Frobnicator */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
593s #
593s # struct _OrgProjectBarFrobnicator;
593s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
593s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
593s #
593s # struct _OrgProjectBarFrobnicatorIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s # gboolean (*handle_random_method) (
593s # OrgProjectBarFrobnicator *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # };
593s #
593s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
593s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void org_project_bar_frobnicator_complete_random_method (
593s # OrgProjectBarFrobnicator *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void org_project_bar_frobnicator_call_random_method (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean org_project_bar_frobnicator_call_random_method_finish (
593s # OrgProjectBarFrobnicator *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean org_project_bar_frobnicator_call_random_method_sync (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
593s #
593s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
593s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
593s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
593s #
593s # struct _OrgProjectBarFrobnicatorProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # OrgProjectBarFrobnicatorProxyPrivate *priv;
593s # };
593s #
593s # struct _OrgProjectBarFrobnicatorProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
593s # #endif
593s #
593s # void org_project_bar_frobnicator_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void org_project_bar_frobnicator_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
593s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
593s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
593s #
593s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
593s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
593s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
593s #
593s # struct _OrgProjectBarFrobnicatorSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
593s # };
593s #
593s # struct _OrgProjectBarFrobnicatorSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
593s # #endif
593s #
593s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for com.acme.Coyote */
593s #
593s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
593s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
593s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
593s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
593s #
593s # struct _ComAcmeCoyote;
593s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
593s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
593s #
593s # struct _ComAcmeCoyoteIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s #
593s #
593s # gboolean (*handle_attack) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # gboolean (*handle_run) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # gboolean (*handle_sleep) (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # const gchar * (*get_mood) (ComAcmeCoyote *object);
593s #
593s # void (*surprised) (
593s # ComAcmeCoyote *object);
593s #
593s # };
593s #
593s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
593s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void com_acme_coyote_complete_run (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # void com_acme_coyote_complete_sleep (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s # void com_acme_coyote_complete_attack (
593s # ComAcmeCoyote *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus signal emissions functions: */
593s # void com_acme_coyote_emit_surprised (
593s # ComAcmeCoyote *object);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void com_acme_coyote_call_run (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_run_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_run_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_call_sleep (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_sleep_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_sleep_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_call_attack (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean com_acme_coyote_call_attack_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean com_acme_coyote_call_attack_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* D-Bus property accessors: */
593s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
593s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
593s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
593s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
593s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
593s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
593s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
593s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
593s #
593s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
593s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
593s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
593s #
593s # struct _ComAcmeCoyoteProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # ComAcmeCoyoteProxyPrivate *priv;
593s # };
593s #
593s # struct _ComAcmeCoyoteProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
593s # #endif
593s #
593s # void com_acme_coyote_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void com_acme_coyote_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
593s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
593s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
593s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
593s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
593s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
593s #
593s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
593s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
593s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
593s #
593s # struct _ComAcmeCoyoteSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # ComAcmeCoyoteSkeletonPrivate *priv;
593s # };
593s #
593s # struct _ComAcmeCoyoteSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
593s # #endif
593s #
593s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4m7p96xo/tmpycoqri511.xml', '/tmp/tmp4m7p96xo/tmp1xn4luht2.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # static void
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint G_GNUC_UNUSED,
593s # void *marshal_data)
593s # {
593s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
593s # (void *data1,
593s # GDBusMethodInvocation *arg_method_invocation,
593s # void *data2);
593s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
593s # GCClosure *cc = (GCClosure*) closure;
593s # void *data1, *data2;
593s # gboolean v_return;
593s #
593s # g_return_if_fail (return_value != NULL);
593s # g_return_if_fail (n_param_values == 2);
593s #
593s # if (G_CCLOSURE_SWAP_DATA (closure))
593s # {
593s # data1 = closure->data;
593s # data2 = g_value_peek_pointer (param_values + 0);
593s # }
593s # else
593s # {
593s # data1 = g_value_peek_pointer (param_values + 0);
593s # data2 = closure->data;
593s # }
593s #
593s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
593s # (marshal_data ? marshal_data : cc->callback);
593s #
593s # v_return =
593s # callback (data1,
593s # g_marshal_value_peek_object (param_values + 1),
593s # data2);
593s #
593s # g_value_set_boolean (return_value, v_return);
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.Bar.Frobnicator
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectBarFrobnicator
593s # * @title: OrgProjectBarFrobnicator
593s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
593s # */
593s #
593s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
593s #
593s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
593s # {
593s # {
593s # -1,
593s # (gchar *) "RandomMethod",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-random-method",
593s # FALSE
593s # };
593s #
593s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
593s # {
593s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.Bar.Frobnicator",
593s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-bar-frobnicator",
593s # };
593s #
593s #
593s # /**
593s # * org_project_bar_frobnicator_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_bar_frobnicator_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_bar_frobnicator_method_marshal_random_method (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectBarFrobnicator:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorIface:
593s # * @parent_iface: The parent interface.
593s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
593s # */
593s #
593s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
593s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
593s # {
593s # /* GObject signals for incoming D-Bus method calls: */
593s # /**
593s # * OrgProjectBarFrobnicator::handle-random-method:
593s # * @object: A #OrgProjectBarFrobnicator.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-random-method",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # org_project_bar_frobnicator_method_marshal_random_method,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # org_project_bar_frobnicator_call_random_method (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "RandomMethod",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method_finish:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # org_project_bar_frobnicator_call_random_method_finish (
593s # OrgProjectBarFrobnicator *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method_sync:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # org_project_bar_frobnicator_call_random_method_sync (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "RandomMethod",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_complete_random_method:
593s # * @object: A #OrgProjectBarFrobnicator.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # org_project_bar_frobnicator_complete_random_method (
593s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorProxy:
593s # *
593s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectBarFrobnicatorProxy.
593s # */
593s #
593s # struct _OrgProjectBarFrobnicatorProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
593s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
593s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_bar_frobnicator_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_bar_frobnicator_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorSkeleton:
593s # *
593s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
593s # */
593s #
593s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_bar_frobnicator_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_bar_frobnicator_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_bar_frobnicator_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
593s # {
593s # _org_project_bar_frobnicator_skeleton_handle_method_call,
593s # _org_project_bar_frobnicator_skeleton_handle_get_property,
593s # _org_project_bar_frobnicator_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_bar_frobnicator_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface com.acme.Coyote
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:ComAcmeCoyote
593s # * @title: ComAcmeCoyote
593s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
593s # *
593s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _COM_ACME_COYOTE_SURPRISED,
593s # };
593s #
593s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
593s #
593s # /* ---- Introspection data for com.acme.Coyote ---- */
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Run",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-run",
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Sleep",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-sleep",
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Attack",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-attack",
593s # FALSE
593s # };
593s #
593s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
593s # {
593s # &_com_acme_coyote_method_info_run.parent_struct,
593s # &_com_acme_coyote_method_info_sleep.parent_struct,
593s # &_com_acme_coyote_method_info_attack.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Surprised",
593s # NULL,
593s # NULL
593s # },
593s # "surprised"
593s # };
593s #
593s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
593s # {
593s # &_com_acme_coyote_signal_info_surprised.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Mood",
593s # (gchar *) "s",
593s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
593s # NULL
593s # },
593s # "mood",
593s # FALSE,
593s # TRUE
593s # };
593s #
593s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
593s # {
593s # &_com_acme_coyote_property_info_mood.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "com.acme.Coyote",
593s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
593s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
593s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
593s # NULL
593s # },
593s # "com-acme-coyote",
593s # };
593s #
593s #
593s # /**
593s # * com_acme_coyote_interface_info:
593s # *
593s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # com_acme_coyote_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
593s # {
593s # g_object_class_override_property (klass, property_id_begin++, "mood");
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # com_acme_coyote_signal_marshal_surprised (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_run (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_sleep (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_attack (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * ComAcmeCoyote:
593s # *
593s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteIface:
593s # * @parent_iface: The parent interface.
593s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
593s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
593s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
593s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
593s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
593s # *
593s # * Virtual table for the D-Bus interface com.acme.Coyote.
593s # */
593s #
593s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
593s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
593s #
593s # static void
593s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
593s # {
593s # /* GObject signals for incoming D-Bus method calls: */
593s # /**
593s # * ComAcmeCoyote::handle-run:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-run",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_run,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /**
593s # * ComAcmeCoyote::handle-sleep:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-sleep",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_sleep,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /**
593s # * ComAcmeCoyote::handle-attack:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-attack",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_attack,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * ComAcmeCoyote::surprised:
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
593s # g_signal_new ("surprised",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
593s # NULL,
593s # NULL,
593s # com_acme_coyote_signal_marshal_surprised,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /* GObject properties for D-Bus properties: */
593s # /**
593s # * ComAcmeCoyote:mood:
593s # *
593s # * Represents the D-Bus property "Mood".
593s # *
593s # * 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.
593s # */
593s # g_object_interface_install_property (iface,
593s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_get_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Gets the value of the "Mood" D-Bus property.
593s # *
593s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # const gchar *
593s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
593s # {
593s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
593s #
593s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_dup_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Gets a copy of the "Mood" D-Bus property.
593s # *
593s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
593s # *
593s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
593s # */
593s # gchar *
593s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
593s # {
593s # gchar *value;
593s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
593s # return value;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_set_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # * @value: The value to set.
593s # *
593s # * Sets the "Mood" D-Bus property to @value.
593s # *
593s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
593s # */
593s # void
593s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
593s # {
593s # g_object_set (G_OBJECT (object), "mood", value, NULL);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_emit_surprised:
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Emits the "Surprised" D-Bus signal.
593s # */
593s # void
593s # com_acme_coyote_emit_surprised (
593s # ComAcmeCoyote *object)
593s # {
593s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Run() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_run (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Run",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_run().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_run_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_run_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Run",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_sleep (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Sleep",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_sleep().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_sleep_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_sleep_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Sleep",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_attack (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Attack",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_attack().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_attack_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_attack_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Attack",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_run:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_run (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_sleep:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_sleep (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_attack:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_attack (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * ComAcmeCoyoteProxy:
593s # *
593s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #ComAcmeCoyoteProxy.
593s # */
593s #
593s # struct _ComAcmeCoyoteProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # com_acme_coyote_proxy_finalize (GObject *object)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_get_property (GObject *object,
593s # guint prop_id,
593s # GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # GVariant *variant;
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
593s # if (info->use_gvariant)
593s # {
593s # g_value_set_variant (value, variant);
593s # }
593s # else
593s # {
593s # if (variant != NULL)
593s # g_dbus_gvariant_to_gvalue (variant, value);
593s # }
593s # if (variant != NULL)
593s # g_variant_unref (variant);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
593s # GAsyncResult *res,
593s # gpointer user_data)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info = user_data;
593s # GError *error;
593s # GVariant *_ret;
593s # error = NULL;
593s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
593s # if (!_ret)
593s # {
593s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
593s # info->parent_struct.name,
593s # error->message, g_quark_to_string (error->domain), error->code);
593s # g_error_free (error);
593s # }
593s # else
593s # {
593s # g_variant_unref (_ret);
593s # }
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_set_property (GObject *object,
593s # guint prop_id,
593s # const GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # GVariant *variant;
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_dbus_proxy_call (G_DBUS_PROXY (object),
593s # "org.freedesktop.DBus.Properties.Set",
593s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
593s # g_variant_unref (variant);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static const gchar *
593s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
593s # GVariant *variant;
593s # const gchar *value = NULL;
593s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
593s # if (variant != NULL)
593s # {
593s # value = g_variant_get_string (variant, NULL);
593s # g_variant_unref (variant);
593s # }
593s # return value;
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
593s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
593s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
593s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
593s #
593s # com_acme_coyote_override_properties (gobject_class, 1);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
593s # {
593s # iface->get_mood = com_acme_coyote_proxy_get_mood;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # com_acme_coyote_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with com_acme_coyote_proxy_new().
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # com_acme_coyote_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * ComAcmeCoyoteSkeleton:
593s # *
593s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #ComAcmeCoyoteSkeleton.
593s # */
593s #
593s # struct _ComAcmeCoyoteSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _com_acme_coyote_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _com_acme_coyote_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _com_acme_coyote_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
593s # {
593s # _com_acme_coyote_skeleton_handle_method_call,
593s # _com_acme_coyote_skeleton_handle_get_property,
593s # _com_acme_coyote_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return com_acme_coyote_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
593s #
593s # static void
593s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
593s # gboolean emit_changed = FALSE;
593s #
593s # g_mutex_lock (&skeleton->priv->lock);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # {
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # skeleton->priv->changed_properties_idle_source = NULL;
593s # emit_changed = TRUE;
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s #
593s # if (emit_changed)
593s # _com_acme_coyote_emit_changed (skeleton);
593s # }
593s #
593s # static void
593s # _com_acme_coyote_on_signal_surprised (
593s # ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # com_acme_coyote_skeleton_finalize (GObject *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # guint n;
593s # for (n = 0; n < 1; n++)
593s # g_value_unset (&skeleton->priv->properties[n]);
593s # g_free (skeleton->priv->properties);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_get_property (GObject *object,
593s # guint prop_id,
593s # GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # g_mutex_lock (&skeleton->priv->lock);
593s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # }
593s #
593s # static gboolean
593s # _com_acme_coyote_emit_changed (gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GList *l;
593s # GVariantBuilder builder;
593s # GVariantBuilder invalidated_builder;
593s # guint num_changes;
593s #
593s # g_mutex_lock (&skeleton->priv->lock);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
593s # #else
593s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
593s # #endif
593s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
593s # {
593s # ChangedProperty *cp = l->data;
593s # GVariant *variant;
593s # const GValue *cur_value;
593s #
593s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
593s # if (!_g_value_equal (cur_value, &cp->orig_value))
593s # {
593s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
593s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
593s # g_variant_unref (variant);
593s # num_changes++;
593s # }
593s # }
593s # if (num_changes > 0)
593s # {
593s # GList *connections, *ll;
593s # GVariant *signal_variant;
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
593s # &builder, &invalidated_builder));
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s # for (ll = connections; ll != NULL; ll = ll->next)
593s # {
593s # GDBusConnection *connection = ll->data;
593s #
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
593s # "org.freedesktop.DBus.Properties",
593s # "PropertiesChanged",
593s # signal_variant,
593s # NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s # else
593s # {
593s # g_variant_builder_clear (&builder);
593s # g_variant_builder_clear (&invalidated_builder);
593s # }
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # skeleton->priv->changed_properties = NULL;
593s # skeleton->priv->changed_properties_idle_source = NULL;
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # return FALSE;
593s # }
593s #
593s # static void
593s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
593s # {
593s # ChangedProperty *cp;
593s # GList *l;
593s # cp = NULL;
593s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
593s # {
593s # ChangedProperty *i_cp = l->data;
593s # if (i_cp->info == info)
593s # {
593s # cp = i_cp;
593s # break;
593s # }
593s # }
593s # if (cp == NULL)
593s # {
593s # cp = g_new0 (ChangedProperty, 1);
593s # cp->prop_id = prop_id;
593s # cp->info = info;
593s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
593s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
593s # g_value_copy (orig_value, &cp->orig_value);
593s # }
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_notify (GObject *object,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_mutex_lock (&skeleton->priv->lock);
593s # if (skeleton->priv->changed_properties != NULL &&
593s # skeleton->priv->changed_properties_idle_source == NULL)
593s # {
593s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
593s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
593s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
593s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
593s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
593s # g_source_unref (skeleton->priv->changed_properties_idle_source);
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_set_property (GObject *object,
593s # guint prop_id,
593s # const GValue *value,
593s # GParamSpec *pspec)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # g_mutex_lock (&skeleton->priv->lock);
593s # g_object_freeze_notify (object);
593s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
593s # {
593s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
593s # info->emits_changed_signal)
593s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
593s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
593s # g_object_notify_by_pspec (object, pspec);
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # g_object_thaw_notify (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # skeleton->priv->properties = g_new0 (GValue, 1);
593s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
593s # }
593s #
593s # static const gchar *
593s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # const gchar *value;
593s # g_mutex_lock (&skeleton->priv->lock);
593s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # return value;
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
593s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
593s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
593s # gobject_class->notify = com_acme_coyote_skeleton_notify;
593s #
593s #
593s # com_acme_coyote_override_properties (gobject_class, 1);
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
593s # {
593s # iface->surprised = _com_acme_coyote_on_signal_surprised;
593s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_skeleton_new (void)
593s # {
593s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
593s # }
593s # Error:
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4m7p96xo/tmp1xn4luht2.xml', '/tmp/tmp4m7p96xo/tmpycoqri511.xml', '--output', '-', '--body']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifdef HAVE_CONFIG_H
593s # # include "config.h"
593s # #endif
593s #
593s # #include
593s # #ifdef G_OS_UNIX
593s # # include
593s # #endif
593s #
593s # #ifdef G_ENABLE_DEBUG
593s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
593s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
593s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
593s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
593s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
593s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
593s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
593s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
593s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
593s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
593s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
593s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
593s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
593s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
593s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
593s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
593s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
593s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
593s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
593s # #else /* !G_ENABLE_DEBUG */
593s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
593s # * Do not access GValues directly in your code. Instead, use the
593s # * g_value_get_*() functions
593s # */
593s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
593s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
593s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
593s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
593s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
593s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
593s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
593s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
593s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
593s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
593s # #endif /* !G_ENABLE_DEBUG */
593s #
593s # typedef struct
593s # {
593s # GDBusArgInfo parent_struct;
593s # gboolean use_gvariant;
593s # } _ExtendedGDBusArgInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusMethodInfo parent_struct;
593s # const gchar *signal_name;
593s # gboolean pass_fdlist;
593s # } _ExtendedGDBusMethodInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusSignalInfo parent_struct;
593s # const gchar *signal_name;
593s # } _ExtendedGDBusSignalInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusPropertyInfo parent_struct;
593s # const gchar *hyphen_name;
593s # guint use_gvariant : 1;
593s # guint emits_changed_signal : 1;
593s # } _ExtendedGDBusPropertyInfo;
593s #
593s # typedef struct
593s # {
593s # GDBusInterfaceInfo parent_struct;
593s # const gchar *hyphen_name;
593s # } _ExtendedGDBusInterfaceInfo;
593s #
593s # typedef struct
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # guint prop_id;
593s # GValue orig_value; /* the value before the change */
593s # } ChangedProperty;
593s #
593s # static void
593s # _changed_property_free (ChangedProperty *data)
593s # {
593s # g_value_unset (&data->orig_value);
593s # g_free (data);
593s # }
593s #
593s # static gboolean
593s # _g_strv_equal0 (gchar **a, gchar **b)
593s # {
593s # gboolean ret = FALSE;
593s # guint n;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # if (g_strv_length (a) != g_strv_length (b))
593s # goto out;
593s # for (n = 0; a[n] != NULL; n++)
593s # if (g_strcmp0 (a[n], b[n]) != 0)
593s # goto out;
593s # ret = TRUE;
593s # out:
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _g_variant_equal0 (GVariant *a, GVariant *b)
593s # {
593s # gboolean ret = FALSE;
593s # if (a == NULL && b == NULL)
593s # {
593s # ret = TRUE;
593s # goto out;
593s # }
593s # if (a == NULL || b == NULL)
593s # goto out;
593s # ret = g_variant_equal (a, b);
593s # out:
593s # return ret;
593s # }
593s #
593s # G_GNUC_UNUSED static gboolean
593s # _g_value_equal (const GValue *a, const GValue *b)
593s # {
593s # gboolean ret = FALSE;
593s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
593s # switch (G_VALUE_TYPE (a))
593s # {
593s # case G_TYPE_BOOLEAN:
593s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
593s # break;
593s # case G_TYPE_UCHAR:
593s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
593s # break;
593s # case G_TYPE_INT:
593s # ret = (g_value_get_int (a) == g_value_get_int (b));
593s # break;
593s # case G_TYPE_UINT:
593s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
593s # break;
593s # case G_TYPE_INT64:
593s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
593s # break;
593s # case G_TYPE_UINT64:
593s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
593s # break;
593s # case G_TYPE_DOUBLE:
593s # {
593s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
593s # gdouble da = g_value_get_double (a);
593s # gdouble db = g_value_get_double (b);
593s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
593s # }
593s # break;
593s # case G_TYPE_STRING:
593s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
593s # break;
593s # case G_TYPE_VARIANT:
593s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
593s # break;
593s # default:
593s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
593s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
593s # else
593s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
593s # break;
593s # }
593s # return ret;
593s # }
593s #
593s # static void
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint G_GNUC_UNUSED,
593s # void *marshal_data)
593s # {
593s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
593s # (void *data1,
593s # GDBusMethodInvocation *arg_method_invocation,
593s # void *data2);
593s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
593s # GCClosure *cc = (GCClosure*) closure;
593s # void *data1, *data2;
593s # gboolean v_return;
593s #
593s # g_return_if_fail (return_value != NULL);
593s # g_return_if_fail (n_param_values == 2);
593s #
593s # if (G_CCLOSURE_SWAP_DATA (closure))
593s # {
593s # data1 = closure->data;
593s # data2 = g_value_peek_pointer (param_values + 0);
593s # }
593s # else
593s # {
593s # data1 = g_value_peek_pointer (param_values + 0);
593s # data2 = closure->data;
593s # }
593s #
593s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
593s # (marshal_data ? marshal_data : cc->callback);
593s #
593s # v_return =
593s # callback (data1,
593s # g_marshal_value_peek_object (param_values + 1),
593s # data2);
593s #
593s # g_value_set_boolean (return_value, v_return);
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface org.project.Bar.Frobnicator
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:OrgProjectBarFrobnicator
593s # * @title: OrgProjectBarFrobnicator
593s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
593s # *
593s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
593s # */
593s #
593s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
593s #
593s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
593s # {
593s # {
593s # -1,
593s # (gchar *) "RandomMethod",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-random-method",
593s # FALSE
593s # };
593s #
593s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
593s # {
593s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "org.project.Bar.Frobnicator",
593s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "org-project-bar-frobnicator",
593s # };
593s #
593s #
593s # /**
593s # * org_project_bar_frobnicator_interface_info:
593s # *
593s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # org_project_bar_frobnicator_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
593s # {
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # org_project_bar_frobnicator_method_marshal_random_method (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * OrgProjectBarFrobnicator:
593s # *
593s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorIface:
593s # * @parent_iface: The parent interface.
593s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
593s # *
593s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
593s # */
593s #
593s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
593s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
593s #
593s # static void
593s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
593s # {
593s # /* GObject signals for incoming D-Bus method calls: */
593s # /**
593s # * OrgProjectBarFrobnicator::handle-random-method:
593s # * @object: A #OrgProjectBarFrobnicator.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-random-method",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # org_project_bar_frobnicator_method_marshal_random_method,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # org_project_bar_frobnicator_call_random_method (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "RandomMethod",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method_finish:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # org_project_bar_frobnicator_call_random_method_finish (
593s # OrgProjectBarFrobnicator *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_call_random_method_sync:
593s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # org_project_bar_frobnicator_call_random_method_sync (
593s # OrgProjectBarFrobnicator *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "RandomMethod",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_complete_random_method:
593s # * @object: A #OrgProjectBarFrobnicator.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # org_project_bar_frobnicator_complete_random_method (
593s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorProxy:
593s # *
593s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectBarFrobnicatorProxy.
593s # */
593s #
593s # struct _OrgProjectBarFrobnicatorProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
593s # {
593s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
593s # guint prop_id G_GNUC_UNUSED,
593s # const GValue *value G_GNUC_UNUSED,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
593s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
593s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
593s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_bar_frobnicator_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # org_project_bar_frobnicator_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorSkeleton:
593s # *
593s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * OrgProjectBarFrobnicatorSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
593s # */
593s #
593s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _org_project_bar_frobnicator_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _org_project_bar_frobnicator_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _org_project_bar_frobnicator_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
593s # {
593s # _org_project_bar_frobnicator_skeleton_handle_method_call,
593s # _org_project_bar_frobnicator_skeleton_handle_get_property,
593s # _org_project_bar_frobnicator_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return org_project_bar_frobnicator_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
593s # {
593s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
593s # {
593s # }
593s #
593s # /**
593s # * org_project_bar_frobnicator_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
593s # *
593s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
593s # */
593s # OrgProjectBarFrobnicator *
593s # org_project_bar_frobnicator_skeleton_new (void)
593s # {
593s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
593s # }
593s #
593s # /* ------------------------------------------------------------------------
593s # * Code for interface com.acme.Coyote
593s # * ------------------------------------------------------------------------
593s # */
593s #
593s # /**
593s # * SECTION:ComAcmeCoyote
593s # * @title: ComAcmeCoyote
593s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
593s # *
593s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
593s # */
593s #
593s # enum
593s # {
593s # _COM_ACME_COYOTE_SURPRISED,
593s # };
593s #
593s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
593s #
593s # /* ---- Introspection data for com.acme.Coyote ---- */
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Run",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-run",
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Sleep",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-sleep",
593s # FALSE
593s # };
593s #
593s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Attack",
593s # NULL,
593s # NULL,
593s # NULL
593s # },
593s # "handle-attack",
593s # FALSE
593s # };
593s #
593s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
593s # {
593s # &_com_acme_coyote_method_info_run.parent_struct,
593s # &_com_acme_coyote_method_info_sleep.parent_struct,
593s # &_com_acme_coyote_method_info_attack.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Surprised",
593s # NULL,
593s # NULL
593s # },
593s # "surprised"
593s # };
593s #
593s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
593s # {
593s # &_com_acme_coyote_signal_info_surprised.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
593s # {
593s # {
593s # -1,
593s # (gchar *) "Mood",
593s # (gchar *) "s",
593s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
593s # NULL
593s # },
593s # "mood",
593s # FALSE,
593s # TRUE
593s # };
593s #
593s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
593s # {
593s # &_com_acme_coyote_property_info_mood.parent_struct,
593s # NULL
593s # };
593s #
593s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
593s # {
593s # {
593s # -1,
593s # (gchar *) "com.acme.Coyote",
593s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
593s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
593s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
593s # NULL
593s # },
593s # "com-acme-coyote",
593s # };
593s #
593s #
593s # /**
593s # * com_acme_coyote_interface_info:
593s # *
593s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
593s # *
593s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
593s # */
593s # GDBusInterfaceInfo *
593s # com_acme_coyote_interface_info (void)
593s # {
593s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_override_properties:
593s # * @klass: The class structure for a #GObject derived class.
593s # * @property_id_begin: The property id to assign to the first overridden property.
593s # *
593s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
593s # * The properties are overridden in the order they are defined.
593s # *
593s # * Returns: The last property id.
593s # */
593s # guint
593s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
593s # {
593s # g_object_class_override_property (klass, property_id_begin++, "mood");
593s # return property_id_begin - 1;
593s # }
593s #
593s #
593s # inline static void
593s # com_acme_coyote_signal_marshal_surprised (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # g_cclosure_marshal_VOID__VOID (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_run (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_sleep (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s # inline static void
593s # com_acme_coyote_method_marshal_attack (
593s # GClosure *closure,
593s # GValue *return_value,
593s # unsigned int n_param_values,
593s # const GValue *param_values,
593s # void *invocation_hint,
593s # void *marshal_data)
593s # {
593s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
593s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
593s # }
593s #
593s #
593s # /**
593s # * ComAcmeCoyote:
593s # *
593s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteIface:
593s # * @parent_iface: The parent interface.
593s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
593s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
593s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
593s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
593s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
593s # *
593s # * Virtual table for the D-Bus interface com.acme.Coyote.
593s # */
593s #
593s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
593s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
593s #
593s # static void
593s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
593s # {
593s # /* GObject signals for incoming D-Bus method calls: */
593s # /**
593s # * ComAcmeCoyote::handle-run:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-run",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_run,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /**
593s # * ComAcmeCoyote::handle-sleep:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-sleep",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_sleep,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /**
593s # * ComAcmeCoyote::handle-attack:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: A #GDBusMethodInvocation.
593s # *
593s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # g_signal_new ("handle-attack",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
593s # g_signal_accumulator_true_handled,
593s # NULL,
593s # com_acme_coyote_method_marshal_attack,
593s # G_TYPE_BOOLEAN,
593s # 1,
593s # G_TYPE_DBUS_METHOD_INVOCATION);
593s #
593s # /* GObject signals for received D-Bus signals: */
593s # /**
593s # * ComAcmeCoyote::surprised:
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
593s # *
593s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
593s # */
593s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
593s # g_signal_new ("surprised",
593s # G_TYPE_FROM_INTERFACE (iface),
593s # G_SIGNAL_RUN_LAST,
593s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
593s # NULL,
593s # NULL,
593s # com_acme_coyote_signal_marshal_surprised,
593s # G_TYPE_NONE,
593s # 0);
593s #
593s # /* GObject properties for D-Bus properties: */
593s # /**
593s # * ComAcmeCoyote:mood:
593s # *
593s # * Represents the D-Bus property "Mood".
593s # *
593s # * 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.
593s # */
593s # g_object_interface_install_property (iface,
593s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_get_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Gets the value of the "Mood" D-Bus property.
593s # *
593s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
593s # *
593s # * 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.
593s # *
593s # * 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.
593s # */
593s # const gchar *
593s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
593s # {
593s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
593s #
593s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_dup_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Gets a copy of the "Mood" D-Bus property.
593s # *
593s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
593s # *
593s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
593s # */
593s # gchar *
593s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
593s # {
593s # gchar *value;
593s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
593s # return value;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_set_mood: (skip)
593s # * @object: A #ComAcmeCoyote.
593s # * @value: The value to set.
593s # *
593s # * Sets the "Mood" D-Bus property to @value.
593s # *
593s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
593s # */
593s # void
593s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
593s # {
593s # g_object_set (G_OBJECT (object), "mood", value, NULL);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_emit_surprised:
593s # * @object: A #ComAcmeCoyote.
593s # *
593s # * Emits the "Surprised" D-Bus signal.
593s # */
593s # void
593s # com_acme_coyote_emit_surprised (
593s # ComAcmeCoyote *object)
593s # {
593s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Run() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_run (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Run",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_run().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_run_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_run_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_run_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Run",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_sleep (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Sleep",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_sleep().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_sleep_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_sleep_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_sleep_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Sleep",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
593s # */
593s # void
593s # com_acme_coyote_call_attack (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
593s # "Attack",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # callback,
593s # user_data);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack_finish:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Finishes an operation started with com_acme_coyote_call_attack().
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_attack_finish (
593s # ComAcmeCoyote *proxy,
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_call_attack_sync:
593s # * @proxy: A #ComAcmeCoyoteProxy.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL.
593s # *
593s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
593s # *
593s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
593s # */
593s # gboolean
593s # com_acme_coyote_call_attack_sync (
593s # ComAcmeCoyote *proxy,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GVariant *_ret;
593s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
593s # "Attack",
593s # g_variant_new ("()"),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # cancellable,
593s # error);
593s # if (_ret == NULL)
593s # goto _out;
593s # g_variant_get (_ret,
593s # "()");
593s # g_variant_unref (_ret);
593s # _out:
593s # return _ret != NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_run:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_run (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_sleep:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_sleep (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /**
593s # * com_acme_coyote_complete_attack:
593s # * @object: A #ComAcmeCoyote.
593s # * @invocation: (transfer full): A #GDBusMethodInvocation.
593s # *
593s # * 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.
593s # *
593s # * This method will free @invocation, you cannot use it afterwards.
593s # */
593s # void
593s # com_acme_coyote_complete_attack (
593s # ComAcmeCoyote *object G_GNUC_UNUSED,
593s # GDBusMethodInvocation *invocation)
593s # {
593s # g_dbus_method_invocation_return_value (invocation,
593s # g_variant_new ("()"));
593s # }
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * ComAcmeCoyoteProxy:
593s # *
593s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteProxyClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #ComAcmeCoyoteProxy.
593s # */
593s #
593s # struct _ComAcmeCoyoteProxyPrivate
593s # {
593s # GData *qdata;
593s # };
593s #
593s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
593s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
593s #
593s # #endif
593s # static void
593s # com_acme_coyote_proxy_finalize (GObject *object)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
593s # g_datalist_clear (&proxy->priv->qdata);
593s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_get_property (GObject *object,
593s # guint prop_id,
593s # GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # GVariant *variant;
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
593s # if (info->use_gvariant)
593s # {
593s # g_value_set_variant (value, variant);
593s # }
593s # else
593s # {
593s # if (variant != NULL)
593s # g_dbus_gvariant_to_gvalue (variant, value);
593s # }
593s # if (variant != NULL)
593s # g_variant_unref (variant);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
593s # GAsyncResult *res,
593s # gpointer user_data)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info = user_data;
593s # GError *error;
593s # GVariant *_ret;
593s # error = NULL;
593s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
593s # if (!_ret)
593s # {
593s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
593s # info->parent_struct.name,
593s # error->message, g_quark_to_string (error->domain), error->code);
593s # g_error_free (error);
593s # }
593s # else
593s # {
593s # g_variant_unref (_ret);
593s # }
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_set_property (GObject *object,
593s # guint prop_id,
593s # const GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # GVariant *variant;
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_dbus_proxy_call (G_DBUS_PROXY (object),
593s # "org.freedesktop.DBus.Properties.Set",
593s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
593s # G_DBUS_CALL_FLAGS_NONE,
593s # -1,
593s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
593s # g_variant_unref (variant);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
593s # const gchar *sender_name G_GNUC_UNUSED,
593s # const gchar *signal_name,
593s # GVariant *parameters)
593s # {
593s # _ExtendedGDBusSignalInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # gsize n;
593s # guint signal_id;
593s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
593s # if (info == NULL)
593s # return;
593s # num_params = g_variant_n_children (parameters);
593s # paramv = g_new0 (GValue, num_params + 1);
593s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
593s # g_value_set_object (¶mv[0], proxy);
593s # g_variant_iter_init (&iter, parameters);
593s # n = 1;
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
593s # g_signal_emitv (paramv, signal_id, 0, NULL);
593s # for (n = 0; n < num_params + 1; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
593s # GVariant *changed_properties,
593s # const gchar *const *invalidated_properties)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
593s # guint n;
593s # const gchar *key;
593s # GVariantIter *iter;
593s # _ExtendedGDBusPropertyInfo *info;
593s # g_variant_get (changed_properties, "a{sv}", &iter);
593s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
593s # g_datalist_remove_data (&proxy->priv->qdata, key);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # g_variant_iter_free (iter);
593s # for (n = 0; invalidated_properties[n] != NULL; n++)
593s # {
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
593s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
593s # if (info != NULL)
593s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
593s # }
593s # }
593s #
593s # static const gchar *
593s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
593s # GVariant *variant;
593s # const gchar *value = NULL;
593s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
593s # if (variant != NULL)
593s # {
593s # value = g_variant_get_string (variant, NULL);
593s # g_variant_unref (variant);
593s # }
593s # return value;
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
593s # #else
593s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
593s # #endif
593s #
593s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusProxyClass *proxy_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
593s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
593s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
593s #
593s # proxy_class = G_DBUS_PROXY_CLASS (klass);
593s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
593s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
593s #
593s # com_acme_coyote_override_properties (gobject_class, 1);
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
593s # {
593s # iface->get_mood = com_acme_coyote_proxy_get_mood;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # com_acme_coyote_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with com_acme_coyote_proxy_new().
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_sync:
593s # * @connection: A #GDBusConnection.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
593s # * @user_data: User data to pass to @callback.
593s # *
593s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
593s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
593s # *
593s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
593s # */
593s # void
593s # com_acme_coyote_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data)
593s # {
593s # 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);
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus_finish:
593s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
593s # * @error: Return location for error or %NULL
593s # *
593s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error)
593s # {
593s # GObject *ret;
593s # GObject *source_object;
593s # source_object = g_async_result_get_source_object (res);
593s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
593s # g_object_unref (source_object);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_proxy_new_for_bus_sync:
593s # * @bus_type: A #GBusType.
593s # * @flags: Flags from the #GDBusProxyFlags enumeration.
593s # * @name: A bus name (well-known or unique).
593s # * @object_path: An object path.
593s # * @cancellable: (nullable): A #GCancellable or %NULL.
593s # * @error: Return location for error or %NULL
593s # *
593s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
593s # *
593s # * The calling thread is blocked until a reply is received.
593s # *
593s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error)
593s # {
593s # GInitable *ret;
593s # 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);
593s # if (ret != NULL)
593s # return COM_ACME_COYOTE (ret);
593s # else
593s # return NULL;
593s # }
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s #
593s # /**
593s # * ComAcmeCoyoteSkeleton:
593s # *
593s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
593s # */
593s #
593s # /**
593s # * ComAcmeCoyoteSkeletonClass:
593s # * @parent_class: The parent class.
593s # *
593s # * Class structure for #ComAcmeCoyoteSkeleton.
593s # */
593s #
593s # struct _ComAcmeCoyoteSkeletonPrivate
593s # {
593s # GValue *properties;
593s # GList *changed_properties;
593s # GSource *changed_properties_idle_source;
593s # GMainContext *context;
593s # GMutex lock;
593s # };
593s #
593s # static void
593s # _com_acme_coyote_skeleton_handle_method_call (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name,
593s # const gchar *method_name,
593s # GVariant *parameters,
593s # GDBusMethodInvocation *invocation,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # _ExtendedGDBusMethodInfo *info;
593s # GVariantIter iter;
593s # GVariant *child;
593s # GValue *paramv;
593s # gsize num_params;
593s # guint num_extra;
593s # gsize n;
593s # guint signal_id;
593s # GValue return_value = G_VALUE_INIT;
593s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
593s # g_assert (info != NULL);
593s # num_params = g_variant_n_children (parameters);
593s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
593s # n = 0;
593s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
593s # g_value_set_object (¶mv[n++], skeleton);
593s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
593s # g_value_set_object (¶mv[n++], invocation);
593s # if (info->pass_fdlist)
593s # {
593s # #ifdef G_OS_UNIX
593s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
593s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
593s # #else
593s # g_assert_not_reached ();
593s # #endif
593s # }
593s # g_variant_iter_init (&iter, parameters);
593s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
593s # {
593s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
593s # if (arg_info->use_gvariant)
593s # {
593s # g_value_init (¶mv[n], G_TYPE_VARIANT);
593s # g_value_set_variant (¶mv[n], child);
593s # n++;
593s # }
593s # else
593s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
593s # g_variant_unref (child);
593s # }
593s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
593s # g_value_init (&return_value, G_TYPE_BOOLEAN);
593s # g_signal_emitv (paramv, signal_id, 0, &return_value);
593s # if (!g_value_get_boolean (&return_value))
593s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
593s # g_value_unset (&return_value);
593s # for (n = 0; n < num_params + num_extra; n++)
593s # g_value_unset (¶mv[n]);
593s # g_free (paramv);
593s # }
593s #
593s # static GVariant *
593s # _com_acme_coyote_skeleton_handle_get_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # GVariant *ret;
593s # ret = NULL;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # g_value_init (&value, pspec->value_type);
593s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
593s # g_value_unset (&value);
593s # }
593s # return ret;
593s # }
593s #
593s # static gboolean
593s # _com_acme_coyote_skeleton_handle_set_property (
593s # GDBusConnection *connection G_GNUC_UNUSED,
593s # const gchar *sender G_GNUC_UNUSED,
593s # const gchar *object_path G_GNUC_UNUSED,
593s # const gchar *interface_name G_GNUC_UNUSED,
593s # const gchar *property_name,
593s # GVariant *variant,
593s # GError **error,
593s # gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GValue value = G_VALUE_INIT;
593s # GParamSpec *pspec;
593s # _ExtendedGDBusPropertyInfo *info;
593s # gboolean ret;
593s # ret = FALSE;
593s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
593s # g_assert (info != NULL);
593s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
593s # if (pspec == NULL)
593s # {
593s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
593s # }
593s # else
593s # {
593s # if (info->use_gvariant)
593s # g_value_set_variant (&value, variant);
593s # else
593s # g_dbus_gvariant_to_gvalue (variant, &value);
593s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
593s # g_value_unset (&value);
593s # ret = TRUE;
593s # }
593s # return ret;
593s # }
593s #
593s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
593s # {
593s # _com_acme_coyote_skeleton_handle_method_call,
593s # _com_acme_coyote_skeleton_handle_get_property,
593s # _com_acme_coyote_skeleton_handle_set_property,
593s # {NULL}
593s # };
593s #
593s # static GDBusInterfaceInfo *
593s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return com_acme_coyote_interface_info ();
593s # }
593s #
593s # static GDBusInterfaceVTable *
593s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
593s # {
593s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
593s # }
593s #
593s # static GVariant *
593s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
593s #
593s # GVariantBuilder builder;
593s # guint n;
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #else
593s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
593s # #endif
593s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
593s # goto out;
593s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
593s # {
593s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
593s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
593s # {
593s # GVariant *value;
593s # 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);
593s # if (value != NULL)
593s # {
593s # g_variant_take_ref (value);
593s # g_variant_builder_add (&builder, "{sv}", info->name, value);
593s # g_variant_unref (value);
593s # }
593s # }
593s # }
593s # out:
593s # return g_variant_builder_end (&builder);
593s # }
593s #
593s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
593s #
593s # static void
593s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
593s # gboolean emit_changed = FALSE;
593s #
593s # g_mutex_lock (&skeleton->priv->lock);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # {
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # skeleton->priv->changed_properties_idle_source = NULL;
593s # emit_changed = TRUE;
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s #
593s # if (emit_changed)
593s # _com_acme_coyote_emit_changed (skeleton);
593s # }
593s #
593s # static void
593s # _com_acme_coyote_on_signal_surprised (
593s # ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s #
593s # GList *connections, *l;
593s # GVariant *signal_variant;
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s #
593s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
593s # for (l = connections; l != NULL; l = l->next)
593s # {
593s # GDBusConnection *connection = l->data;
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
593s # signal_variant, NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s #
593s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
593s #
593s # #else
593s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
593s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
593s #
593s # #endif
593s # static void
593s # com_acme_coyote_skeleton_finalize (GObject *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # guint n;
593s # for (n = 0; n < 1; n++)
593s # g_value_unset (&skeleton->priv->properties[n]);
593s # g_free (skeleton->priv->properties);
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # if (skeleton->priv->changed_properties_idle_source != NULL)
593s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
593s # g_main_context_unref (skeleton->priv->context);
593s # g_mutex_clear (&skeleton->priv->lock);
593s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_get_property (GObject *object,
593s # guint prop_id,
593s # GValue *value,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # g_mutex_lock (&skeleton->priv->lock);
593s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # }
593s #
593s # static gboolean
593s # _com_acme_coyote_emit_changed (gpointer user_data)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
593s # GList *l;
593s # GVariantBuilder builder;
593s # GVariantBuilder invalidated_builder;
593s # guint num_changes;
593s #
593s # g_mutex_lock (&skeleton->priv->lock);
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
593s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
593s # #else
593s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
593s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
593s # #endif
593s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
593s # {
593s # ChangedProperty *cp = l->data;
593s # GVariant *variant;
593s # const GValue *cur_value;
593s #
593s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
593s # if (!_g_value_equal (cur_value, &cp->orig_value))
593s # {
593s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
593s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
593s # g_variant_unref (variant);
593s # num_changes++;
593s # }
593s # }
593s # if (num_changes > 0)
593s # {
593s # GList *connections, *ll;
593s # GVariant *signal_variant;
593s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
593s # &builder, &invalidated_builder));
593s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
593s # for (ll = connections; ll != NULL; ll = ll->next)
593s # {
593s # GDBusConnection *connection = ll->data;
593s #
593s # g_dbus_connection_emit_signal (connection,
593s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
593s # "org.freedesktop.DBus.Properties",
593s # "PropertiesChanged",
593s # signal_variant,
593s # NULL);
593s # }
593s # g_variant_unref (signal_variant);
593s # g_list_free_full (connections, g_object_unref);
593s # }
593s # else
593s # {
593s # g_variant_builder_clear (&builder);
593s # g_variant_builder_clear (&invalidated_builder);
593s # }
593s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
593s # skeleton->priv->changed_properties = NULL;
593s # skeleton->priv->changed_properties_idle_source = NULL;
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # return FALSE;
593s # }
593s #
593s # static void
593s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
593s # {
593s # ChangedProperty *cp;
593s # GList *l;
593s # cp = NULL;
593s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
593s # {
593s # ChangedProperty *i_cp = l->data;
593s # if (i_cp->info == info)
593s # {
593s # cp = i_cp;
593s # break;
593s # }
593s # }
593s # if (cp == NULL)
593s # {
593s # cp = g_new0 (ChangedProperty, 1);
593s # cp->prop_id = prop_id;
593s # cp->info = info;
593s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
593s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
593s # g_value_copy (orig_value, &cp->orig_value);
593s # }
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_notify (GObject *object,
593s # GParamSpec *pspec G_GNUC_UNUSED)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_mutex_lock (&skeleton->priv->lock);
593s # if (skeleton->priv->changed_properties != NULL &&
593s # skeleton->priv->changed_properties_idle_source == NULL)
593s # {
593s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
593s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
593s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
593s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
593s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
593s # g_source_unref (skeleton->priv->changed_properties_idle_source);
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_set_property (GObject *object,
593s # guint prop_id,
593s # const GValue *value,
593s # GParamSpec *pspec)
593s # {
593s # const _ExtendedGDBusPropertyInfo *info;
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # g_assert (prop_id != 0 && prop_id - 1 < 1);
593s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
593s # g_mutex_lock (&skeleton->priv->lock);
593s # g_object_freeze_notify (object);
593s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
593s # {
593s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
593s # info->emits_changed_signal)
593s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
593s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
593s # g_object_notify_by_pspec (object, pspec);
593s # }
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # g_object_thaw_notify (object);
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
593s # {
593s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
593s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
593s # #else
593s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
593s # #endif
593s #
593s # g_mutex_init (&skeleton->priv->lock);
593s # skeleton->priv->context = g_main_context_ref_thread_default ();
593s # skeleton->priv->properties = g_new0 (GValue, 1);
593s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
593s # }
593s #
593s # static const gchar *
593s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
593s # {
593s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
593s # const gchar *value;
593s # g_mutex_lock (&skeleton->priv->lock);
593s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
593s # g_mutex_unlock (&skeleton->priv->lock);
593s # return value;
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
593s # {
593s # GObjectClass *gobject_class;
593s # GDBusInterfaceSkeletonClass *skeleton_class;
593s #
593s # gobject_class = G_OBJECT_CLASS (klass);
593s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
593s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
593s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
593s # gobject_class->notify = com_acme_coyote_skeleton_notify;
593s #
593s #
593s # com_acme_coyote_override_properties (gobject_class, 1);
593s #
593s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
593s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
593s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
593s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
593s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
593s #
593s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
593s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
593s # #endif
593s # }
593s #
593s # static void
593s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
593s # {
593s # iface->surprised = _com_acme_coyote_on_signal_surprised;
593s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
593s # }
593s #
593s # /**
593s # * com_acme_coyote_skeleton_new:
593s # *
593s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
593s # *
593s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
593s # */
593s # ComAcmeCoyote *
593s # com_acme_coyote_skeleton_new (void)
593s # {
593s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
593s # }
593s # Error:
593s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
593s # gdbus-codegen: /usr/bin/gdbus-codegen
593s # tmpdir: /tmp/tmpawswubl9
593s # /tmp/tmpawswubl9/tmpkkxnx1mo.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpawswubl9/tmpkkxnx1mo.xml', '--output', '-', '--header']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for FDPassing */
593s #
593s # #define TYPE_FDPASSING (fdpassing_get_type ())
593s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
593s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
593s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
593s #
593s # struct _FDPassing;
593s # typedef struct _FDPassing FDPassing;
593s # typedef struct _FDPassingIface FDPassingIface;
593s #
593s # struct _FDPassingIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s # gboolean (*handle_hello_fd) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *arg_greeting);
593s #
593s # gboolean (*handle_no_annotation) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale);
593s #
593s # gboolean (*handle_no_annotation_nested) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *arg_files);
593s #
593s # };
593s #
593s # GType fdpassing_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *fdpassing_interface_info (void);
593s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void fdpassing_complete_hello_fd (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *response);
593s #
593s # void fdpassing_complete_no_annotation (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *response,
593s # const gchar *response_locale);
593s #
593s # void fdpassing_complete_no_annotation_nested (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void fdpassing_call_hello_fd (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GUnixFDList *fd_list,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_hello_fd_finish (
593s # FDPassing *proxy,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_hello_fd_sync (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GUnixFDList *fd_list,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_finish (
593s # FDPassing *proxy,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation_nested (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_finish (
593s # FDPassing *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
593s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
593s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
593s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
593s #
593s # typedef struct _FDPassingProxy FDPassingProxy;
593s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
593s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
593s #
593s # struct _FDPassingProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # FDPassingProxyPrivate *priv;
593s # };
593s #
593s # struct _FDPassingProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
593s # #endif
593s #
593s # void fdpassing_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
593s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
593s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
593s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
593s #
593s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
593s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
593s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
593s #
593s # struct _FDPassingSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # FDPassingSkeletonPrivate *priv;
593s # };
593s #
593s # struct _FDPassingSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
593s # #endif
593s #
593s # FDPassing *fdpassing_skeleton_new (void);
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s #
593s # /tmp/tmpawswubl9/tmptw96hxx2.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpawswubl9/tmptw96hxx2.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for FDPassing */
593s #
593s # #define TYPE_FDPASSING (fdpassing_get_type ())
593s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
593s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
593s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
593s #
593s # struct _FDPassing;
593s # typedef struct _FDPassing FDPassing;
593s # typedef struct _FDPassingIface FDPassingIface;
593s #
593s # struct _FDPassingIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s # gboolean (*handle_hello_fd) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *arg_greeting);
593s #
593s # gboolean (*handle_no_annotation) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale);
593s #
593s # gboolean (*handle_no_annotation_nested) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *arg_files);
593s #
593s # };
593s #
593s # GType fdpassing_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *fdpassing_interface_info (void);
593s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void fdpassing_complete_hello_fd (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *response);
593s #
593s # void fdpassing_complete_no_annotation (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GVariant *response,
593s # const gchar *response_locale);
593s #
593s # void fdpassing_complete_no_annotation_nested (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void fdpassing_call_hello_fd (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GUnixFDList *fd_list,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_hello_fd_finish (
593s # FDPassing *proxy,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_hello_fd_sync (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GUnixFDList *fd_list,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_finish (
593s # FDPassing *proxy,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation_nested (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_finish (
593s # FDPassing *proxy,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
593s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
593s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
593s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
593s #
593s # typedef struct _FDPassingProxy FDPassingProxy;
593s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
593s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
593s #
593s # struct _FDPassingProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # FDPassingProxyPrivate *priv;
593s # };
593s #
593s # struct _FDPassingProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
593s # #endif
593s #
593s # void fdpassing_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
593s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
593s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
593s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
593s #
593s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
593s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
593s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
593s #
593s # struct _FDPassingSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # FDPassingSkeletonPrivate *priv;
593s # };
593s #
593s # struct _FDPassingSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
593s # #endif
593s #
593s # FDPassing *fdpassing_skeleton_new (void);
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s #
593s # /tmp/tmpawswubl9/tmppecf1xhh.xml:
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s #
593s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpawswubl9/tmppecf1xhh.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
593s # Return code: 0
593s # Output:
593s # /*
593s # * This file is generated by gdbus-codegen, do not modify it.
593s # *
593s # * The license of this code is the same as for the D-Bus interface description
593s # * it was derived from. Note that it links to GLib, so must comply with the
593s # * LGPL linking clauses.
593s # */
593s #
593s # #ifndef __STDOUT__
593s # #define __STDOUT__
593s #
593s # #include
593s #
593s # G_BEGIN_DECLS
593s #
593s #
593s # /* ------------------------------------------------------------------------ */
593s # /* Declarations for FDPassing */
593s #
593s # #define TYPE_FDPASSING (fdpassing_get_type ())
593s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
593s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
593s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
593s #
593s # struct _FDPassing;
593s # typedef struct _FDPassing FDPassing;
593s # typedef struct _FDPassingIface FDPassingIface;
593s #
593s # struct _FDPassingIface
593s # {
593s # GTypeInterface parent_iface;
593s #
593s # gboolean (*handle_hello_fd) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *arg_greeting);
593s #
593s # gboolean (*handle_no_annotation) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale);
593s #
593s # gboolean (*handle_no_annotation_nested) (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # GVariant *arg_files);
593s #
593s # };
593s #
593s # GType fdpassing_get_type (void) G_GNUC_CONST;
593s #
593s # GDBusInterfaceInfo *fdpassing_interface_info (void);
593s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
593s #
593s #
593s # /* D-Bus method call completion functions: */
593s # void fdpassing_complete_hello_fd (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # const gchar *response);
593s #
593s # void fdpassing_complete_no_annotation (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list,
593s # GVariant *response,
593s # const gchar *response_locale);
593s #
593s # void fdpassing_complete_no_annotation_nested (
593s # FDPassing *object,
593s # GDBusMethodInvocation *invocation,
593s # GUnixFDList *fd_list);
593s #
593s #
593s #
593s # /* D-Bus method calls: */
593s # void fdpassing_call_hello_fd (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_hello_fd_finish (
593s # FDPassing *proxy,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_hello_fd_sync (
593s # FDPassing *proxy,
593s # const gchar *arg_greeting,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # gchar **out_response,
593s # GUnixFDList **out_fd_list,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_finish (
593s # FDPassing *proxy,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GUnixFDList **out_fd_list,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_greeting,
593s # const gchar *arg_greeting_locale,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # GVariant **out_response,
593s # gchar **out_response_locale,
593s # GUnixFDList **out_fd_list,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_call_no_annotation_nested (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_finish (
593s # FDPassing *proxy,
593s # GUnixFDList **out_fd_list,
593s # GAsyncResult *res,
593s # GError **error);
593s #
593s # gboolean fdpassing_call_no_annotation_nested_sync (
593s # FDPassing *proxy,
593s # GVariant *arg_files,
593s # GDBusCallFlags call_flags,
593s # gint timeout_msec,
593s # GUnixFDList *fd_list,
593s # GUnixFDList **out_fd_list,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
593s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
593s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
593s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
593s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
593s #
593s # typedef struct _FDPassingProxy FDPassingProxy;
593s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
593s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
593s #
593s # struct _FDPassingProxy
593s # {
593s # /*< private >*/
593s # GDBusProxy parent_instance;
593s # FDPassingProxyPrivate *priv;
593s # };
593s #
593s # struct _FDPassingProxyClass
593s # {
593s # GDBusProxyClass parent_class;
593s # };
593s #
593s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
593s # #endif
593s #
593s # void fdpassing_proxy_new (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_sync (
593s # GDBusConnection *connection,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s # void fdpassing_proxy_new_for_bus (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GAsyncReadyCallback callback,
593s # gpointer user_data);
593s # FDPassing *fdpassing_proxy_new_for_bus_finish (
593s # GAsyncResult *res,
593s # GError **error);
593s # FDPassing *fdpassing_proxy_new_for_bus_sync (
593s # GBusType bus_type,
593s # GDBusProxyFlags flags,
593s # const gchar *name,
593s # const gchar *object_path,
593s # GCancellable *cancellable,
593s # GError **error);
593s #
593s #
593s # /* ---- */
593s #
593s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
593s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
593s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
593s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
593s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
593s #
593s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
593s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
593s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
593s #
593s # struct _FDPassingSkeleton
593s # {
593s # /*< private >*/
593s # GDBusInterfaceSkeleton parent_instance;
593s # FDPassingSkeletonPrivate *priv;
593s # };
593s #
593s # struct _FDPassingSkeletonClass
593s # {
593s # GDBusInterfaceSkeletonClass parent_class;
593s # };
593s #
593s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
593s #
593s # #if GLIB_CHECK_VERSION(2, 44, 0)
593s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
593s # #endif
593s #
593s # FDPassing *fdpassing_skeleton_new (void);
593s #
593s #
593s # G_END_DECLS
593s #
593s # #endif /* __STDOUT__ */
593s # Error:
593s 1..39
593s ok - glib/codegen.py.test
593s # Running test: glib/portal-support-flatpak-full.test
593s TAP version 14
593s # random seed: R02Se45ea82770b359208c328da8bbf406ff
593s 1..1
593s # Start of portal-support tests
593s # Start of flatpak tests
593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/home
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/cache
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/system-config2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/config
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/system-data2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/data
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/state
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/runtime
593s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_YN6JK3/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
593s ok 1 /portal-support/flatpak/full
593s # End of flatpak tests
593s # End of portal-support tests
593s ok - glib/portal-support-flatpak-full.test
593s # Running test: glib/error.test
593s TAP version 14
593s # random seed: R02Sd5b0b5f753c27b2554232bc24faeecd0
593s 1..3
593s # Start of error tests
593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_HHYJK3/error/from-errno/.dirs/home
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_HHYJK3/error/from-errno/.dirs/cache
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_HHYJK3/error/from-errno/.dirs/system-config1:/tmp/test_error_HHYJK3/error/from-errno/.dirs/system-config2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_HHYJK3/error/from-errno/.dirs/config
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_HHYJK3/error/from-errno/.dirs/system-data1:/tmp/test_error_HHYJK3/error/from-errno/.dirs/system-data2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_HHYJK3/error/from-errno/.dirs/data
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_HHYJK3/error/from-errno/.dirs/state
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_HHYJK3/error/from-errno/.dirs/runtime
593s ok 1 /error/from-errno
593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/home
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/cache
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/system-config1:/tmp/test_error_HHYJK3/error/from-file-error/.dirs/system-config2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/config
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/system-data1:/tmp/test_error_HHYJK3/error/from-file-error/.dirs/system-data2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/data
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/state
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_HHYJK3/error/from-file-error/.dirs/runtime
593s ok 2 /error/from-file-error
593s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/home
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/cache
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/system-config1:/tmp/test_error_HHYJK3/error/from-win32-error/.dirs/system-config2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/config
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/system-data1:/tmp/test_error_HHYJK3/error/from-win32-error/.dirs/system-data2
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/data
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/state
593s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_HHYJK3/error/from-win32-error/.dirs/runtime
593s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
593s # End of error tests
593s ok - glib/error.test
593s # Running test: glib/refstring.test
593s TAP version 14
593s # random seed: R02S599bc36f76fccb14df6522f4a793cd19
593s 1..8
593s # Start of refstring tests
593s # s = 'hello, world' (0xbc5c0beec2c0)
593s ok 1 /refstring/base
593s ok 2 /refstring/length
593s ok 3 /refstring/length-auto
593s ok 4 /refstring/length-nuls
593s # s = 'hello, world' (0xbc5c0beec160)
593s # p = s = 'hello, world' (0xbc5c0beec160)
593s # releasing p[0xbc5c0beec160] ('hello, world')
593s # p = 'goodbye, world' (0xbc5c0beec2c0)
593s # releasing p[0xbc5c0beec2c0] ('goodbye, world')
593s # releasing s[0xbc5c0beec160] ('hello, world')
593s ok 5 /refstring/intern
593s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable
593s ok 6 /refstring/hash_equal
593s # /refstring/equal summary: Test g_ref_string_equal() standalone
593s ok 7 /refstring/equal
594s ok 8 /refstring/intern-thread-safety
594s # slow test /refstring/intern-thread-safety executed in 0.60 secs
594s # End of refstring tests
594s ok - glib/refstring.test
594s # Running test: glib/override.test
594s TAP version 14
594s # random seed: R02S7df6dd412f5681af5148811cfdb3ca31
594s 1..1
594s # Start of gobject tests
594s # *** emitting foo on a TestA instance
594s # Expecting: TestA::foo,TestI::foo
594s # Got: TestA::foo,TestI::foo
594s # *** emitting bar on a TestA instance
594s # Expecting: TestA::bar
594s # Got: TestA::bar
594s # *** emitting baz on a TestA instance
594s # Expecting: TestA::baz
594s # Got: TestA::baz
594s # *** emitting foo on a TestB instance
594s # Expecting: TestB::foo,TestA::foo,TestI::foo
594s # Got: TestB::foo,TestA::foo,TestI::foo
594s # *** emitting bar on a TestB instance
594s # Expecting: TestB::bar,TestA::bar
594s # Got: TestB::bar,TestA::bar
594s # *** emitting baz on a TestB instance
594s # Expecting: TestB::baz,TestA::baz
594s # Got: TestB::baz,TestA::baz
594s # *** emitting foo on a TestC instance
594s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
594s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
594s # *** emitting bar on a TestC instance
594s # Expecting: TestC::bar,TestB::bar,TestA::bar
594s # Got: TestC::bar,TestB::bar,TestA::bar
594s # *** emitting baz on a TestC instance
594s # Expecting: TestC::baz,TestB::baz,TestA::baz
594s # Got: TestC::baz,TestB::baz,TestA::baz
594s ok 1 /gobject/override
594s # End of gobject tests
594s ok - glib/override.test
594s # Running test: glib/utils-c-99.test
594s TAP version 14
594s # random seed: R02Sfb79dc2ae427094e5d33ce0dc1abfd7e
594s 1..41
594s # Start of utils tests
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/language-names/.dirs/runtime
594s ok 1 /utils/language-names
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/locale-variants/.dirs/runtime
594s # Testing locale ‘en’
594s # Testing locale ‘sr@latin’
594s # Testing locale ‘fr_BE’
594s # Testing locale ‘sr_SR@latin’
594s # Testing locale ‘sr_SR@latin.UTF-8’
594s # Testing locale ‘sr@latin_invalid’
594s # Testing locale ‘sr.UTF-8@latin’
594s # Testing locale ‘sr.UTF-8_latin’
594s # Testing locale ‘sr.UTF-8@latin_invalid’
594s ok 2 /utils/locale-variants
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/version/.dirs/runtime
594s ok 3 /utils/version
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/appname/.dirs/runtime
594s ok 4 /utils/appname
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/prgname-thread-safety/.dirs/runtime
594s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
594s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
594s ok 5 /utils/prgname-thread-safety
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir/.dirs/runtime
594s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
594s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/tmpdir: No such file or directory
594s ok 6 /utils/tmpdir
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/basic_bits/.dirs/runtime
594s ok 7 /utils/basic_bits
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/bits/.dirs/runtime
594s ok 8 /utils/bits
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/swap/.dirs/runtime
594s ok 9 /utils/swap
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/find-program/.dirs/runtime
594s ok 10 /utils/find-program
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/find-program-for-path/.dirs/runtime
594s ok 11 /utils/find-program-for-path
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/debug/.dirs/runtime
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/debug: No such file or directory
594s ok 12 /utils/debug
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/codeset/.dirs/runtime
594s ok 13 /utils/codeset
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/codeset2/.dirs/runtime
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/codeset2: No such file or directory
594s ok 14 /utils/codeset2
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/console-charset/.dirs/runtime
594s ok 15 /utils/console-charset
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/gettext/.dirs/runtime
594s ok 16 /utils/gettext
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/username/.dirs/runtime
594s ok 17 /utils/username
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/realname/.dirs/runtime
594s ok 18 /utils/realname
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/hostname/.dirs/runtime
594s ok 19 /utils/hostname
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/os-info/.dirs/runtime
594s # NAME: Ubuntu
594s ok 20 /utils/os-info
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/.dirs/runtime
594s ok 21 /utils/clear-pointer
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer-cast/.dirs/runtime
594s ok 22 /utils/clear-pointer-cast
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/take-pointer/.dirs/runtime
594s ok 23 /utils/take-pointer
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-source/.dirs/runtime
594s ok 24 /utils/clear-source
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/misc-mem/.dirs/runtime
594s ok 25 /utils/misc-mem
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/.dirs/runtime
594s # /utils/aligned-mem summary: Aligned memory allocator
594s # Alignment must not be zero
594s # Alignment must be a power of two
594s # Alignment must be a multiple of sizeof(void*)
594s ok 26 /utils/aligned-mem
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/free-sized/.dirs/runtime
594s # /utils/free-sized summary: Check that g_free_sized() works
594s ok 27 /utils/free-sized
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/nullify/.dirs/runtime
594s ok 28 /utils/nullify
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/atexit/.dirs/runtime
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/atexit: No such file or directory
594s ok 29 /utils/atexit
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/check-setuid/.dirs/runtime
594s ok 30 /utils/check-setuid
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/int-limits/.dirs/runtime
594s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
594s ok 31 /utils/int-limits
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-list/.dirs/runtime
594s ok 32 /utils/clear-list
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-slist/.dirs/runtime
594s ok 33 /utils/clear-slist
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/steal-handle-id/.dirs/runtime
594s ok 34 /utils/steal-handle-id
594s # Start of user-special-dirs tests
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/desktop/.dirs/runtime
594s ok 35 /utils/user-special-dirs/desktop
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked/.dirs/runtime
594s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
594s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/load-unlocked: No such file or directory
594s ok 36 /utils/user-special-dirs/load-unlocked
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks/.dirs/runtime
594s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
594s Unable to clean up temporary directory /tmp/test_utils-c-99_YTQ5J3/utils/user-special-dirs/reload-leaks: No such file or directory
594s ok 37 /utils/user-special-dirs/reload-leaks
594s # End of user-special-dirs tests
594s # Start of clear-pointer tests
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/clear-pointer/side-effects/.dirs/runtime
594s ok 38 /utils/clear-pointer/side-effects
594s # End of clear-pointer tests
594s # Start of aligned-mem tests
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/alignment/.dirs/runtime
594s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
594s ok 39 /utils/aligned-mem/alignment
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/zeroed/.dirs/runtime
594s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
594s ok 40 /utils/aligned-mem/zeroed
594s ok - glib/utils-c-99.test
594s # Running test: glib/gi-compile-repository.py.test
594s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/home
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/cache
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/system-config2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/config
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/system-data2
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/data
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/state
594s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-99_YTQ5J3/utils/aligned-mem/free-sized/.dirs/runtime
594s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
594s ok 41 /utils/aligned-mem/free-sized
594s # Start of subprocess tests
594s # End of subprocess tests
594s # End of aligned-mem tests
594s # End of utils tests
594s # Executing: glib/gi-compile-repository.py.test
594s TAP version 13
594s ok 1 __main__.TestGICompileRepository.test_open_failure
594s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
594s # gi-compile-repository: /usr/bin/gi-compile-repository
594s # tmpdir: /tmp/tmpgamd32ik
594s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpgamd32ik/invalid.typelib']
594s # Return code: 1
594s # Output:
594s #
594s # Error:
594s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory
594s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile
594s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
594s # gi-compile-repository: /usr/bin/gi-compile-repository
594s # tmpdir: /tmp/tmp88loui3a
594s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmp88loui3a/GLib-2.typelib']
594s # Return code: 0
594s # Output:
594s #
594s # Error:
594s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
594s # gi-compile-repository: /usr/bin/gi-compile-repository
594s # tmpdir: /tmp/tmp1hnpv5w1
594s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/aarch64-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib']
594s # Return code: 1
594s # Output:
594s #
594s # Error:
594s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
594s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
594s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
594s # gi-compile-repository: /usr/bin/gi-compile-repository
594s # tmpdir: /tmp/tmpwxt90sqz
594s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpwxt90sqz/GObject-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
594s # Return code: 0
594s # Output:
594s #
594s # Error:
595s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
595s # gi-compile-repository: /usr/bin/gi-compile-repository
595s # tmpdir: /tmp/tmpi8yowzd4
595s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
595s # Return code: 1
595s # Output:
595s #
595s # Error:
595s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
595s ok 6 __main__.TestGICompileRepositoryForGio.test_compile
595s # gir path set to [PosixPath('/usr/lib/aarch64-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
595s # gi-compile-repository: /usr/bin/gi-compile-repository
595s # tmpdir: /tmp/tmp4klcqhus
595s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp4klcqhus/Gio-2.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
595s # Return code: 0
595s # Output:
595s #
595s # Error:
595s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
595s # gi-compile-repository: /usr/bin/gi-compile-repository
595s # tmpdir: /tmp/tmpaeak8otp
595s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/aarch64-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
595s # Return code: 1
595s # Output:
595s #
595s # Error:
595s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
595s 1..7
595s ok - glib/gi-compile-repository.py.test
595s # Running test: glib/completion.test
595s TAP version 14
595s # random seed: R02Se5e872fe57ee8e6f04ef32bab2305aa2
595s 1..1
595s # Start of completion tests
595s ok 1 /completion/test-completion
595s # End of completion tests
595s ok - glib/completion.test
595s # Running test: glib/gvariant.test
595s TAP version 14
595s # random seed: R02S54972d359482f2fb7fa33de10bb34231
595s 1..69
595s # Start of gvariant tests
595s ok 1 /gvariant/type
596s ok 2 /gvariant/typeinfo
596s ok 3 /gvariant/string
596s ok 4 /gvariant/utf8
596s ok 5 /gvariant/utf8-new-strings
597s ok 6 /gvariant/containers
597s # slow test /gvariant/containers executed in 0.87 secs
597s ok 7 /gvariant/format-strings
597s ok 8 /gvariant/invalid-varargs
597s ok 9 /gvariant/varargs
597s ok 10 /gvariant/valist
597s ok 11 /gvariant/builder-memory
597s ok 12 /gvariant/hashing
597s ok 13 /gvariant/byteswap
597s ok 14 /gvariant/parser
597s ok 15 /gvariant/parse-failures
597s ok 16 /gvariant/parse-positional
597s ok 17 /gvariant/floating
597s ok 18 /gvariant/bytestring
597s ok 19 /gvariant/lookup-value
597s ok 20 /gvariant/lookup
597s ok 21 /gvariant/compare
597s ok 22 /gvariant/equal
597s ok 23 /gvariant/fixed-array
597s ok 24 /gvariant/check-format-string
597s ok 25 /gvariant/checksum-basic
597s ok 26 /gvariant/checksum-nested
597s ok 27 /gvariant/gbytes
597s ok 28 /gvariant/print-context
597s ok 29 /gvariant/error-quark
597s ok 30 /gvariant/stack-builder-init
597s ok 31 /gvariant/stack-builder-init-static
597s ok 32 /gvariant/stack-builder-init-unset
597s ok 33 /gvariant/stack-dict-init
597s ok 34 /gvariant/unaligned-construction
597s # Start of type tests
597s # Start of string-scan tests
597s # Start of recursion tests
597s ok 35 /gvariant/type/string-scan/recursion/tuple
597s ok 36 /gvariant/type/string-scan/recursion/array
597s # End of recursion tests
597s # End of string-scan tests
597s # End of type tests
597s # Start of serialiser tests
597s ok 37 /gvariant/serialiser/maybe
597s ok 38 /gvariant/serialiser/array
597s ok 39 /gvariant/serialiser/tuple
597s ok 40 /gvariant/serialiser/variant
597s ok 41 /gvariant/serialiser/strings
598s ok 42 /gvariant/serialiser/byteswap
598s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
598s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
598s ok 43 /gvariant/serialiser/children
598s # Start of byteswap tests
598s ok 44 /gvariant/serialiser/byteswap/zero-sized
598s # End of byteswap tests
598s # Start of fuzz tests
598s ok 45 /gvariant/serialiser/fuzz/1%
598s # slow test /gvariant/serialiser/fuzz/1% executed in 0.64 secs
599s # Executing: glib/gvariant.test
599s ok 46 /gvariant/serialiser/fuzz/5%
599s # slow test /gvariant/serialiser/fuzz/5% executed in 1.05 secs
600s ok 47 /gvariant/serialiser/fuzz/9%
600s ok 48 /gvariant/serialiser/fuzz/13%
600s ok 49 /gvariant/serialiser/fuzz/17%
600s # End of fuzz tests
600s # End of serialiser tests
600s # Start of utf8 tests
600s # Start of subprocess tests
600s # End of subprocess tests
600s # End of utf8 tests
600s # Start of varargs tests
600s # Start of subprocess tests
600s # End of subprocess tests
600s # End of varargs tests
600s # Start of byteswap tests
600s # /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.
600s ok 50 /gvariant/byteswap/non-normal-non-aligned
600s # End of byteswap tests
600s # Start of parser tests
600s ok 51 /gvariant/parser/integer-bounds
600s ok 52 /gvariant/parser/recursion
600s # Start of recursion tests
600s ok 53 /gvariant/parser/recursion/typedecls
600s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
600s # Text form 0: @mmmu 5
600s # Text form 1: @mmmas ['hello']
600s # Text form 2: @mmmu just just nothing
600s # Text form 3: @mmmas just just nothing
600s # Text form 4: @mmmu just nothing
600s # Text form 5: @mmmas just nothing
600s # Text form 6: @mmmu nothing
600s # Text form 7: @mmmas nothing
600s ok 54 /gvariant/parser/recursion/maybes
600s # End of recursion tests
600s # End of parser tests
600s # Start of parse tests
600s # Start of subprocess tests
600s # End of subprocess tests
600s # End of parse tests
600s # Start of normal-checking tests
600s ok 55 /gvariant/normal-checking/tuples
600s ok 56 /gvariant/normal-checking/array-offsets
600s ok 57 /gvariant/normal-checking/array-offsets2
600s ok 58 /gvariant/normal-checking/tuple-offsets
600s ok 59 /gvariant/normal-checking/tuple-offsets2
600s ok 60 /gvariant/normal-checking/tuple-offsets3
600s ok 61 /gvariant/normal-checking/tuple-offsets4
600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
600s ok 62 /gvariant/normal-checking/tuple-offsets5
600s ok 63 /gvariant/normal-checking/empty-object-path
600s # Start of array-offsets tests
600s ok 64 /gvariant/normal-checking/array-offsets/overlapped
600s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized
600s # End of array-offsets tests
600s # Start of tuple-offsets tests
600s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized
600s # End of tuple-offsets tests
600s # End of normal-checking tests
600s # Start of recursion-limits tests
600s ok 67 /gvariant/recursion-limits/variant-in-variant
600s ok 68 /gvariant/recursion-limits/array-in-variant
600s # End of recursion-limits tests
600s # End of gvariant tests
600s # Start of gvarianttype tests
600s ok - glib/gvariant.test
600s # Running test: glib/application-command-line.test
600s ok - glib/application-command-line.test
600s # Running test: glib/date.test
600s ok 69 /gvarianttype/hash
600s # End of gvarianttype tests
600s TAP version 14
600s # random seed: R02Sb54b636e5845b4aed62a40fc8259d7cc
600s 1..1
600s # Start of application-command-line tests
600s ok 1 /application-command-line/basic-properties
600s # End of application-command-line tests
600s TAP version 14
600s # random seed: R02S05ab9d29513772e341cdd72921787698
600s 1..122
600s # Start of date tests
600s ok 1 /date/basic
600s ok 2 /date/empty
600s ok 3 /date/dmy
600s ok 4 /date/julian
600s ok 5 /date/compare
600s ok 6 /date/dates
600s ok 7 /date/strftime
600s ok 8 /date/two-digit-years
600s ok 9 /date/parse
600s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
600s ok 11 /date/month_substring
600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
600s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
600s ok 13 /date/clamp
600s ok 14 /date/order
600s ok 15 /date/copy
600s # Vector 0: 0000-00-00, invalid
600s # Vector 1: 0001-01-01, valid
600s # Vector 2: 0000-01-01, invalid
600s # Vector 3: 2000-02-30, invalid
600s # Vector 4: 2000-02-29, valid
600s # Vector 5: 2001-02-29, invalid
600s # Vector 6: 65535-01-01, valid
600s ok 16 /date/valid-dmy
600s # Considering 2000-01-01
600s # Considering 2000-01-07
600s # Considering 2000-01-08
600s # Considering 2001-01-01
600s # Considering 2001-01-07
600s # Considering 2001-01-08
600s # Considering 2002-01-01
600s # Considering 2002-01-07
600s # Considering 2002-01-08
600s # Considering 2003-01-01
600s # Considering 2003-01-07
600s # Considering 2003-01-08
600s # Considering 2004-01-01
600s # Considering 2004-01-07
600s # Considering 2004-01-08
600s # Considering 2006-01-01
600s # Considering 2006-01-07
600s # Considering 2006-01-08
600s # Considering 2010-01-01
600s # Considering 2010-01-07
600s # Considering 2010-01-08
600s ok 17 /date/week-of-year
600s # Start of parse tests
600s # Test 0
600s # Test 1
600s ok 18 /date/parse/invalid
600s # End of parse tests
600s # Start of year tests
600s ok 19 /date/year/1
600s ok 20 /date/year/2
600s ok 21 /date/year/3
600s ok 22 /date/year/4
600s ok 23 /date/year/5
600s ok 24 /date/year/6
600s ok 25 /date/year/7
600s ok 26 /date/year/8
600s ok 27 /date/year/9
600s ok 28 /date/year/10
600s ok 29 /date/year/11
600s ok 30 /date/year/12
600s ok 31 /date/year/13
600s ok 32 /date/year/14
600s ok 33 /date/year/98
600s ok 34 /date/year/99
600s ok 35 /date/year/100
600s ok 36 /date/year/101
600s ok 37 /date/year/102
600s ok 38 /date/year/103
600s ok 39 /date/year/397
600s ok 40 /date/year/398
600s ok 41 /date/year/399
600s ok 42 /date/year/400
600s ok 43 /date/year/401
600s ok 44 /date/year/402
600s ok 45 /date/year/403
600s ok 46 /date/year/404
600s ok 47 /date/year/405
600s ok 48 /date/year/406
600s ok 49 /date/year/1598
600s ok 50 /date/year/1599
600s ok 51 /date/year/1600
600s ok 52 /date/year/1601
600s ok 53 /date/year/1602
600s ok 54 /date/year/1650
600s ok 55 /date/year/1651
600s ok 56 /date/year/1897
600s ok 57 /date/year/1898
600s ok 58 /date/year/1899
600s ok 59 /date/year/1900
600s ok 60 /date/year/1901
600s ok 61 /date/year/1902
600s ok 62 /date/year/1903
600s ok 63 /date/year/1961
600s ok 64 /date/year/1962
600s ok 65 /date/year/1963
600s ok 66 /date/year/1964
600s ok 67 /date/year/1965
600s ok 68 /date/year/1967
600s ok 69 /date/year/1968
600s ok 70 /date/year/1969
600s ok 71 /date/year/1970
600s ok 72 /date/year/1971
600s ok 73 /date/year/1972
600s ok 74 /date/year/1973
600s ok 75 /date/year/1974
600s ok 76 /date/year/1975
600s ok 77 /date/year/1976
600s ok 78 /date/year/1977
600s ok 79 /date/year/1978
600s ok 80 /date/year/1979
600s ok 81 /date/year/1980
600s ok 82 /date/year/1981
600s ok 83 /date/year/1982
600s ok 84 /date/year/1983
600s ok 85 /date/year/1984
600s ok 86 /date/year/1985
600s ok 87 /date/year/1986
600s ok 88 /date/year/1987
600s ok 89 /date/year/1988
600s ok 90 /date/year/1989
600s ok 91 /date/year/1990
600s ok 92 /date/year/1991
600s ok 93 /date/year/1992
600s ok 94 /date/year/1993
600s ok 95 /date/year/1994
600s ok 96 /date/year/1995
600s ok 97 /date/year/1996
600s ok 98 /date/year/1997
600s ok 99 /date/year/1998
600s ok 100 /date/year/1999
600s ok 101 /date/year/2000
600s ok 102 /date/year/2001
600s ok 103 /date/year/2002
600s ok 104 /date/year/2003
600s ok 105 /date/year/2004
600s ok 106 /date/year/2005
600s ok 107 /date/year/2006
600s ok 108 /date/year/2007
600s ok 109 /date/year/2008
600s ok 110 /date/year/2009
600s ok 111 /date/year/2010
600s ok 112 /date/year/2011
600s ok 113 /date/year/2012
600s ok 114 /date/year/3000
600s ok 115 /date/year/3001
600s ok 116 /date/year/3002
600s ok 117 /date/year/3998
600s ok 118 /date/year/3999
600s ok 119 /date/year/4000
600s ok 120 /date/year/4001
600s ok 121 /date/year/4002
600s ok 122 /date/year/4003
600s # End of year tests
600s # End of date tests
600s ok - glib/date.test
600s # Running test: glib/signalgroup.test
600s TAP version 14
600s # random seed: R02S25d114c58eb00f7295c83884335dd5fb
600s 1..9
600s # Start of GObject tests
600s # Start of SignalGroup tests
600s ok 1 /GObject/SignalGroup/invalid
600s ok 2 /GObject/SignalGroup/simple
600s ok 3 /GObject/SignalGroup/changing-target
600s ok 4 /GObject/SignalGroup/blocking
600s ok 5 /GObject/SignalGroup/weak-ref-target
600s ok 6 /GObject/SignalGroup/connect-object
600s ok 7 /GObject/SignalGroup/signal-parsing
600s ok 8 /GObject/SignalGroup/properties
600s ok 9 /GObject/SignalGroup/interface
600s # Start of signal-parsing tests
600s # End of signal-parsing tests
600s # End of SignalGroup tests
600s # End of GObject tests
600s ok - glib/signalgroup.test
600s # Running test: glib/unix-mounts.test
600s TAP version 14
600s # random seed: R02Sa2cb119588352672830689d23950fbeb
600s 1..4
600s # Start of unix-mounts tests
600s ok 1 /unix-mounts/is-system-fs-type
600s ok 2 /unix-mounts/is-system-device-path
600s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
600s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
600s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
600s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
600s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
600s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
600s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
600s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
600s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
600s ok 3 /unix-mounts/get-mount-points
600s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
600s ok 4 /unix-mounts/get-mount-entries
600s # End of unix-mounts tests
600s ok - glib/unix-mounts.test
600s # Running test: glib/utils.test
600s TAP version 14
600s # random seed: R02S737fa929461bc809653535e5273ccddf
600s 1..41
600s # Start of utils tests
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/language-names/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/language-names/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/language-names/.dirs/runtime
600s ok 1 /utils/language-names
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/locale-variants/.dirs/runtime
600s # Testing locale ‘en’
600s # Testing locale ‘sr@latin’
600s # Testing locale ‘fr_BE’
600s # Testing locale ‘sr_SR@latin’
600s # Testing locale ‘sr_SR@latin.UTF-8’
600s # Testing locale ‘sr@latin_invalid’
600s # Testing locale ‘sr.UTF-8@latin’
600s # Testing locale ‘sr.UTF-8_latin’
600s # Testing locale ‘sr.UTF-8@latin_invalid’
600s ok 2 /utils/locale-variants
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/version/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/version/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/version/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/version/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/version/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/version/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/version/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/version/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/version/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/version/.dirs/runtime
600s ok 3 /utils/version
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/appname/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/appname/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/appname/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/appname/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/appname/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/appname/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/appname/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/appname/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/appname/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/appname/.dirs/runtime
600s ok 4 /utils/appname
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/prgname-thread-safety/.dirs/runtime
600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
600s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
600s ok 5 /utils/prgname-thread-safety
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/tmpdir/.dirs/runtime
600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
600s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/tmpdir: No such file or directory
600s ok 6 /utils/tmpdir
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/basic_bits/.dirs/runtime
600s ok 7 /utils/basic_bits
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/bits/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/bits/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/bits/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/bits/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/bits/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/bits/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/bits/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/bits/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/bits/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/bits/.dirs/runtime
600s ok 8 /utils/bits
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/swap/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/swap/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/swap/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/swap/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/swap/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/swap/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/swap/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/swap/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/swap/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/swap/.dirs/runtime
600s ok 9 /utils/swap
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/find-program/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/find-program/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/find-program/.dirs/runtime
600s ok 10 /utils/find-program
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/find-program-for-path/.dirs/runtime
600s ok 11 /utils/find-program-for-path
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/debug/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/debug/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/debug/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/debug/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/debug/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/debug/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/debug/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/debug/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/debug/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/debug/.dirs/runtime
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/debug: No such file or directory
600s ok 12 /utils/debug
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/codeset/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/codeset/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/codeset/.dirs/runtime
600s ok 13 /utils/codeset
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/codeset2/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/codeset2/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/codeset2/.dirs/runtime
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/codeset2: No such file or directory
600s ok 14 /utils/codeset2
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/console-charset/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/console-charset/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/console-charset/.dirs/runtime
600s ok 15 /utils/console-charset
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/gettext/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/gettext/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/gettext/.dirs/runtime
600s ok 16 /utils/gettext
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/username/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/username/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/username/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/username/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/username/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/username/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/username/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/username/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/username/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/username/.dirs/runtime
600s ok 17 /utils/username
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/realname/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/realname/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/realname/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/realname/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/realname/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/realname/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/realname/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/realname/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/realname/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/realname/.dirs/runtime
600s ok 18 /utils/realname
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/hostname/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/hostname/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/hostname/.dirs/runtime
600s ok 19 /utils/hostname
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/os-info/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/os-info/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/os-info/.dirs/runtime
600s # NAME: Ubuntu
600s ok 20 /utils/os-info
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-pointer/.dirs/runtime
600s ok 21 /utils/clear-pointer
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-pointer-cast/.dirs/runtime
600s ok 22 /utils/clear-pointer-cast
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/take-pointer/.dirs/runtime
600s ok 23 /utils/take-pointer
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-source/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-source/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-source/.dirs/runtime
600s ok 24 /utils/clear-source
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/misc-mem/.dirs/runtime
600s ok 25 /utils/misc-mem
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/aligned-mem/.dirs/runtime
600s # /utils/aligned-mem summary: Aligned memory allocator
600s # Alignment must not be zero
600s # Alignment must be a power of two
600s # Alignment must be a multiple of sizeof(void*)
600s ok 26 /utils/aligned-mem
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/free-sized/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/free-sized/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/free-sized/.dirs/runtime
600s # /utils/free-sized summary: Check that g_free_sized() works
600s ok 27 /utils/free-sized
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/nullify/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/nullify/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/nullify/.dirs/runtime
600s ok 28 /utils/nullify
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/atexit/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/atexit/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/atexit/.dirs/runtime
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/atexit: No such file or directory
600s ok 29 /utils/atexit
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/check-setuid/.dirs/runtime
600s ok 30 /utils/check-setuid
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/int-limits/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/int-limits/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/int-limits/.dirs/runtime
600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
600s ok 31 /utils/int-limits
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-list/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-list/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-list/.dirs/runtime
600s ok 32 /utils/clear-list
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-slist/.dirs/runtime
600s ok 33 /utils/clear-slist
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/steal-handle-id/.dirs/runtime
600s ok 34 /utils/steal-handle-id
600s # Start of user-special-dirs tests
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/user-special-dirs/desktop/.dirs/runtime
600s ok 35 /utils/user-special-dirs/desktop
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
600s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
600s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/user-special-dirs/load-unlocked: No such file or directory
600s ok 36 /utils/user-special-dirs/load-unlocked
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
600s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
600s Unable to clean up temporary directory /tmp/test_utils_QC3EK3/utils/user-special-dirs/reload-leaks: No such file or directory
600s ok 37 /utils/user-special-dirs/reload-leaks
600s # End of user-special-dirs tests
600s # Start of clear-pointer tests
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/clear-pointer/side-effects/.dirs/runtime
600s ok 38 /utils/clear-pointer/side-effects
600s # End of clear-pointer tests
600s # Start of aligned-mem tests
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/aligned-mem/alignment/.dirs/runtime
600s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
600s ok 39 /utils/aligned-mem/alignment
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/aligned-mem/zeroed/.dirs/runtime
600s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
600s ok 40 /utils/aligned-mem/zeroed
600s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/home
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/cache
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/system-config2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/config
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/system-data2
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/data
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/state
600s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils_QC3EK3/utils/aligned-mem/free-sized/.dirs/runtime
600s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
600s ok 41 /utils/aligned-mem/free-sized
600s # Start of subprocess tests
600s # End of subprocess tests
600s # End of aligned-mem tests
600s # End of utils tests
600s ok - glib/utils.test
600s # Running test: glib/include.test
600s TAP version 14
600s # random seed: R02Sb08e184a79f85a6256bf3f47868bfabd
600s 1..1
600s # Start of include tests
600s ok 1 /include/rwlock
600s # End of include tests
600s ok - glib/include.test
600s # Running test: glib/gdbus-threading.test
600s ok - glib/gdbus-threading.test
600s # Running test: glib/pollable.test
600s TAP version 14
600s # random seed: R02S8cf14cc6c9b6a15237724e0e2f4e7387
600s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
600s TAP version 14
600s # random seed: R02S5b3cc69589b952a59e92354c07d8ee94
600s 1..6
600s # Start of pollable tests
600s ok 1 /pollable/converter
600s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
600s ok - glib/pollable.test
600s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc95c5f880c90 and GSocketClientAsyncConnectData 0xc95c5f88d7b0
600s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
600s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
600s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc95c5f883e40 for GSocketClientAsyncConnectData 0xc95c5f88d7b0
600s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
600s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
600s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
600s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
600s ok 2 /pollable/socket
600s # Start of unix tests
600s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
600s ok 3 /pollable/unix/pipe
600s # /pollable/unix/pty summary: Test that PTYs are considered pollable
600s ok 4 /pollable/unix/pty
600s # /pollable/unix/file summary: Test that regular files are not considered pollable
600s ok 5 /pollable/unix/file
600s # /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
600s ok 6 /pollable/unix/nulldev
600s # End of unix tests
600s # End of pollable tests
600s # Running test: glib/properties.test
600s TAP version 14
600s # random seed: R02S36fbbbf25685322c991ed60ca5f21b7a
600s 1..14
600s # Start of properties tests
600s ok 1 /properties/install
600s ok 2 /properties/install-many
600s ok 3 /properties/notify
600s ok 4 /properties/notify-queue
600s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
600s ok 5 /properties/construct
600s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
600s # Test g_object_get_property with an initialized value
600s # Test g_object_get_property with an uninitialized value
600s # Test g_object_get_property with a transformable value
600s ok 6 /properties/get-property
600s ok 7 /properties/testv_with_no_properties
600s ok 8 /properties/testv_with_valid_properties
600s ok 9 /properties/testv_with_invalid_property_type
601s ok 10 /properties/testv_with_invalid_property_names
601s ok 11 /properties/testv_getv
601s ok 12 /properties/testv_notify_queue
601s # Start of notify tests
601s ok 13 /properties/notify/too-many-freezes
601s # End of notify tests
601s # Start of set-property tests
601s # Start of variant tests
601s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
601s ok 14 /properties/set-property/variant/floating
601s # End of variant tests
601s # End of set-property tests
601s # End of properties tests
601s ok - glib/properties.test
601s # Running test: glib/gdbus-address-get-session.test
601s TAP version 14
601s # random seed: R02S6cc2c910a19d2857e2923fee43b9f007
601s 1..2
601s # Start of gdbus tests
601s ok 1 /gdbus/x11-autolaunch
601s ok 2 /gdbus/xdg-runtime
601s # End of gdbus tests
601s ok - glib/gdbus-address-get-session.test
601s # Running test: glib/queue.test
601s TAP version 14
601s # random seed: R02S00a8378a2b532a5acd9550154f4d813a
601s 1..12
601s # Start of queue tests
601s ok 1 /queue/basic
601s ok 2 /queue/copy
601s ok 3 /queue/off-by-one
601s ok 4 /queue/find-custom
601s ok 5 /queue/static
601s ok 6 /queue/clear
601s ok 7 /queue/free-full
601s ok 8 /queue/clear-full
601s ok 9 /queue/insert-sibling-link
601s ok 10 /queue/push-nth-link
601s # Start of clear-full tests
601s ok 11 /queue/clear-full/noop
601s # End of clear-full tests
601s # Start of random tests
601s ok 12 /queue/random/seed:1439872398
601s # End of random tests
601s # End of queue tests
601s ok - glib/queue.test
601s # Running test: glib/memory-monitor-poll.test
601s TAP version 14
601s # random seed: R02Sf1980b764f41f3a58a45feb08f03aa9b
601s 1..4
601s # Start of memory-monitor-poll tests
601s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation poll (GMemoryMonitorPoll) for ‘gio-memory-monitor’
601s ok 1 /memory-monitor-poll/dup-default
601s # GLib-GIO-DEBUG: memory free ratio 0.190000
601s # GLib-GIO-DEBUG: Send low memory signal with warning level 2
601s ok 2 /memory-monitor-poll/critical-event
601s # GLib-GIO-DEBUG: memory free ratio 0.290000
601s # GLib-GIO-DEBUG: Send low memory signal with warning level 1
601s ok 3 /memory-monitor-poll/medium-event
601s # GLib-GIO-DEBUG: memory free ratio 0.390000
601s # GLib-GIO-DEBUG: Send low memory signal with warning level 0
601s ok 4 /memory-monitor-poll/low-event
601s # End of memory-monitor-poll tests
601s ok - glib/memory-monitor-poll.test
601s # Running test: glib/memory-monitor-dbus.test
601s TAP version 13
601s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
601s 1..1
601s ok - glib/memory-monitor-dbus.test
601s # Running test: glib/type.test
601s TAP version 14
601s # random seed: R02S3df52de2743b053597e02017078a8d6b
601s 1..6
601s # Start of type tests
601s ok 1 /type/registration-serial
601s ok 2 /type/interface-prerequisite
601s ok 3 /type/interface-check
601s ok 4 /type/next-base
601s ok 5 /type/is-a
601s # Invalid types can’t be queried.
601s # Unclassed types can’t be queried.
601s ok 6 /type/query
601s # End of type tests
601s ok - glib/type.test
601s # Running test: glib/markup-parse.test
601s TAP version 14
601s # random seed: R02Se54ca4078d14b987ad666a398cf2c072
601s 1..71
601s # Start of markup tests
601s # Start of parse tests
601s ok 1 /markup/parse/valid-11.gmarkup
601s ok 2 /markup/parse/fail-24.gmarkup
601s ok 3 /markup/parse/fail-53.gmarkup
601s ok 4 /markup/parse/valid-4.gmarkup
601s ok 5 /markup/parse/fail-7.gmarkup
601s ok 6 /markup/parse/fail-19.gmarkup
601s ok 7 /markup/parse/fail-1.gmarkup
601s ok 8 /markup/parse/fail-13.gmarkup
601s ok 9 /markup/parse/fail-36.gmarkup
601s ok 10 /markup/parse/fail-48.gmarkup
601s ok 11 /markup/parse/fail-27.gmarkup
601s ok 12 /markup/parse/fail-49.gmarkup
601s ok 13 /markup/parse/fail-52.gmarkup
601s ok 14 /markup/parse/fail-54.gmarkup
601s ok 15 /markup/parse/valid-12.gmarkup
601s ok 16 /markup/parse/fail-22.gmarkup
601s ok 17 /markup/parse/fail-34.gmarkup
601s ok 18 /markup/parse/valid-15.gmarkup
601s ok 19 /markup/parse/fail-5.gmarkup
601s ok 20 /markup/parse/fail-20.gmarkup
601s ok 21 /markup/parse/fail-30.gmarkup
601s ok 22 /markup/parse/valid-10.gmarkup
601s ok 23 /markup/parse/valid-5.gmarkup
601s ok 24 /markup/parse/fail-18.gmarkup
601s ok 25 /markup/parse/fail-31.gmarkup
601s ok 26 /markup/parse/valid-3.gmarkup
601s ok 27 /markup/parse/valid-14.gmarkup
601s ok 28 /markup/parse/fail-44.gmarkup
601s ok 29 /markup/parse/fail-40.gmarkup
601s ok 30 /markup/parse/fail-47.gmarkup
601s ok 31 /markup/parse/fail-9.gmarkup
601s ok 32 /markup/parse/valid-13.gmarkup
601s ok 33 /markup/parse/fail-46.gmarkup
601s ok 34 /markup/parse/fail-33.gmarkup
601s ok 35 /markup/parse/valid-7.gmarkup
601s ok 36 /markup/parse/fail-23.gmarkup
601s ok 37 /markup/parse/fail-3.gmarkup
601s ok 38 /markup/parse/fail-37.gmarkup
601s ok 39 /markup/parse/fail-51.gmarkup
601s ok 40 /markup/parse/fail-14.gmarkup
601s ok 41 /markup/parse/fail-45.gmarkup
601s ok 42 /markup/parse/fail-42.gmarkup
601s ok 43 /markup/parse/valid-17.gmarkup
601s ok 44 /markup/parse/fail-21.gmarkup
601s ok 45 /markup/parse/fail-10.gmarkup
601s ok 46 /markup/parse/fail-17.gmarkup
601s ok 47 /markup/parse/valid-2.gmarkup
601s ok 48 /markup/parse/fail-25.gmarkup
601s ok 49 /markup/parse/fail-29.gmarkup
601s ok 50 /markup/parse/fail-8.gmarkup
601s ok 51 /markup/parse/fail-38.gmarkup
601s ok 52 /markup/parse/fail-15.gmarkup
601s ok 53 /markup/parse/valid-1.gmarkup
601s ok - glib/markup-parse.test
601s # Running test: glib/module-test-library.test
601s ok 54 /markup/parse/fail-43.gmarkup
601s ok 55 /markup/parse/valid-9.gmarkup
601s ok 56 /markup/parse/fail-11.gmarkup
601s ok 57 /markup/parse/fail-28.gmarkup
601s ok 58 /markup/parse/valid-16.gmarkup
601s ok 59 /markup/parse/valid-8.gmarkup
601s ok 60 /markup/parse/fail-35.gmarkup
601s ok 61 /markup/parse/fail-26.gmarkup
601s ok 62 /markup/parse/fail-6.gmarkup
601s ok 63 /markup/parse/fail-16.gmarkup
601s ok 64 /markup/parse/valid-6.gmarkup
601s ok 65 /markup/parse/fail-4.gmarkup
601s ok 66 /markup/parse/fail-32.gmarkup
601s ok 67 /markup/parse/fail-50.gmarkup
601s ok 68 /markup/parse/fail-39.gmarkup
601s ok 69 /markup/parse/fail-12.gmarkup
601s ok 70 /markup/parse/fail-2.gmarkup
601s ok 71 /markup/parse/fail-41.gmarkup
601s # End of parse tests
601s # End of markup tests
601s TAP version 14
601s # random seed: R02Sdfa1c001fecca465a868c3fbd95cf58b
601s 1..3
601s # Start of module tests
601s ok 1 /module/basics
601s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
601s ok 2 /module/invalid-libtool-archive
601s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
601s ok 3 /module/local-binding
601s # End of module tests
601s ok - glib/module-test-library.test
601s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
601s TAP version 14
601s # random seed: R02Se3970d70542f76233bb0d513ead08d46
601s 1..8
601s # Start of gdbus tests
601s # Start of codegen tests
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/annotations/.dirs/runtime
601s ok 1 /gdbus/codegen/annotations
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/interface_stability/.dirs/runtime
601s ok 2 /gdbus/codegen/interface_stability
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/object-manager/.dirs/runtime
601s ok 3 /gdbus/codegen/object-manager
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/property-naming/.dirs/runtime
601s ok 4 /gdbus/codegen/property-naming
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/autocleanups/.dirs/runtime
601s ok 5 /gdbus/codegen/autocleanups
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/deprecations/.dirs/runtime
601s ok 6 /gdbus/codegen/deprecations
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/standalone-interface-info/.dirs/runtime
601s ok 7 /gdbus/codegen/standalone-interface-info
601s ok - glib/gdbus-test-codegen-min-required-2-64.test
601s # Running test: glib/gdbus-addresses.test
601s ok - glib/gdbus-addresses.test
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HG35J3/gdbus/codegen/unix-fd-list/.dirs/runtime
601s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
601s ok 8 /gdbus/codegen/unix-fd-list
601s # End of codegen tests
601s # End of gdbus tests
601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
601s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
601s TAP version 14
601s # random seed: R02S3194fb9f0bbeeb73ab2a5d0db5a1f31c
601s 1..9
601s # Start of gdbus tests
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/empty-address/.dirs/runtime
601s ok 1 /gdbus/empty-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/unsupported-address/.dirs/runtime
601s ok 2 /gdbus/unsupported-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/address-parsing/.dirs/runtime
601s ok 3 /gdbus/address-parsing
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/unix-address/.dirs/runtime
601s ok 4 /gdbus/unix-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/nonce-tcp-address/.dirs/runtime
601s ok 5 /gdbus/nonce-tcp-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/tcp-address/.dirs/runtime
601s ok 6 /gdbus/tcp-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/autolaunch-address/.dirs/runtime
601s ok 7 /gdbus/autolaunch-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/mixed-address/.dirs/runtime
601s ok 8 /gdbus/mixed-address
601s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/home
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/cache
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/system-config2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/config
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/system-data2
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/data
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/state
601s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_X77BK3/gdbus/escape-address/.dirs/runtime
601s ok 9 /gdbus/escape-address
601s # End of gdbus tests
601s # Running test: glib/macros-c-17.test
601s ok - glib/macros-c-17.test
601s # Running test: glib/protocol.test
601s TAP version 14
601s # random seed: R02S3643fd42af87bf567342dad80a9825bd
601s 1..4
601s # Start of C tests
601s ok 1 /C/standard-17
601s # End of C tests
601s # Start of alignof tests
601s ok 2 /alignof/fallback
601s # End of alignof tests
601s # Start of assert tests
601s ok 3 /assert/static
601s # End of assert tests
601s # Start of struct tests
601s ok 4 /struct/sizeof_member
601s # End of struct tests
601s TAP version 14
601s # random seed: R02Se5aaaeca8d082d4b4d19705223f3d30d
601s 1..9
601s # Start of glib tests
601s # Start of testing tests
601s # Start of protocol tests
601s ok 1 /glib/testing/protocol/debug
601s ok 2 /glib/testing/protocol/info
601s ok 3 /glib/testing/protocol/message
601s ok 4 /glib/testing/protocol/warning
601s ok 5 /glib/testing/protocol/critical
601s ok 6 /glib/testing/protocol/error
601s ok 7 /glib/testing/protocol/gtest-message
601s ok 8 /glib/testing/protocol/test-message
601s ok 9 /glib/testing/protocol/test-error
601s # End of protocol tests
601s # End of testing tests
601s # End of glib tests
601s ok - glib/protocol.test
601s # Running test: glib/basics-gobject.test
601s TAP version 14
601s # random seed: R02Sc1a313358596af510db8c51c971e974a
601s 1..1
601s # Start of gobject tests
601s # private data during initialization: 54321 == 54321
601s # MAIN: emit test-signal:
601s # ::test_signal default_handler called
601s # ::test_signal default_handler called
601s # ::test_signal default_handler called
601s # signal return: ""
601s # MAIN: call iface print-string on test and derived object:
601s # Iface-FOO: "iface-string-from-test-type" from 0xc6acafdb3880
601s # Iface-BAR: "iface-string-from-derived-type" from 0xc6acafdb3730
601s # chaining:
601s # Iface-FOO: "iface-string-from-derived-type" from 0xc6acafdb3730
601s # private data after initialization: 54321 == 54321
601s ok 1 /gobject/basics
601s # End of gobject tests
601s ok - glib/basics-gobject.test
601s # Running test: glib/mainloop.test
601s TAP version 14
601s # random seed: R02S7e23d9cf5fddf06f893c11dcf0f58d97
601s 1..47
601s # Start of maincontext tests
601s ok 1 /maincontext/basic
601s # Add same-priority sources: 17
601s # Find each source: 4
601s # Remove in random order: 35
601s ok 2 /maincontext/nsources_same_priority
601s # Add different-priority sources: 22
601s # Find each source: 4
601s # Remove in random order: 39
601s ok 3 /maincontext/nsources_different_priority
601s # Add sources from threads: 228
602s # Remove sources from threads: 181
602s ok 4 /maincontext/nsources_threadpool
602s ok 5 /maincontext/source_finalization
602s # /maincontext/idle-once summary: Test g_idle_add_once() works
602s ok 6 /maincontext/idle-once
602s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
602s ok 7 /maincontext/timeout-once
602s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725
602s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref
602s # Start of source_finalization_from_source tests
602s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 9 /maincontext/source_finalization_from_source/0
602s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 10 /maincontext/source_finalization_from_source/1
602s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 11 /maincontext/source_finalization_from_source/2
602s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 12 /maincontext/source_finalization_from_source/3
602s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 13 /maincontext/source_finalization_from_source/4
602s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 14 /maincontext/source_finalization_from_source/5
602s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 15 /maincontext/source_finalization_from_source/6
602s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 16 /maincontext/source_finalization_from_source/7
602s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 17 /maincontext/source_finalization_from_source/8
602s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
602s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
602s ok 18 /maincontext/source_finalization_from_source/9
602s # End of source_finalization_from_source tests
602s # Start of source_finalization_from_dispatch tests
602s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
602s ok 19 /maincontext/source_finalization_from_dispatch/0
602s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
602s ok 20 /maincontext/source_finalization_from_dispatch/1
602s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
602s ok 21 /maincontext/source_finalization_from_dispatch/2
602s # End of source_finalization_from_dispatch tests
602s # End of maincontext tests
602s # Start of mainloop tests
602s ok 22 /mainloop/basic
602s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test
602s ok 24 /mainloop/priorities
602s ok 25 /mainloop/invoke
602s # slow test /mainloop/invoke executed in 0.50 secs
603s ok 26 /mainloop/child_sources
603s # slow test /mainloop/child_sources executed in 1.19 secs
604s # Executing: glib/mainloop.test
606s ok 27 /mainloop/recursive_child_sources
606s # slow test /mainloop/recursive_child_sources executed in 2.17 secs
606s ok 28 /mainloop/recursive_loop_child_sources
606s ok 29 /mainloop/swapping_child_sources
606s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
606s ok 30 /mainloop/blocked_child_sources
607s ok 31 /mainloop/source_time
607s # slow test /mainloop/source_time executed in 1.00 secs
607s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
607s ok 32 /mainloop/overflow
607s ok 33 /mainloop/ready-time
607s # slow test /mainloop/ready-time executed in 0.50 secs
607s ok 34 /mainloop/wakeup
607s ok 35 /mainloop/remove-invalid
607s ok 36 /mainloop/unref-while-pending
608s ok 37 /mainloop/unix-fd
608s # slow test /mainloop/unix-fd executed in 0.56 secs
608s ok 38 /mainloop/unix-fd-source
608s ok 39 /mainloop/source-unix-fd-api
608s ok 40 /mainloop/wait
608s ok 41 /mainloop/unix-file-poll
608s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
608s ok 42 /mainloop/unix-fd-priority
608s ok 43 /mainloop/nfds
608s ok 44 /mainloop/steal-fd
609s # Executing: glib/mainloop.test
609s ok 45 /mainloop/simultaneous-source-context-destruction
609s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.26 secs
609s # Start of ownerless-polling tests
609s ok 46 /mainloop/ownerless-polling/attach-first
609s ok 47 /mainloop/ownerless-polling/pop-first
609s # End of ownerless-polling tests
609s # End of mainloop tests
609s ok - glib/mainloop.test
609s # Running test: glib/gdbus-serialization.test
609s TAP version 14
609s # random seed: R02S766c003cab14e144fbb92e7d265d9db7
609s 1..18
609s # Start of gdbus tests
609s # Start of message-serialize tests
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/basic/.dirs/runtime
609s ok 1 /gdbus/message-serialize/basic
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/complex/.dirs/runtime
609s ok 2 /gdbus/message-serialize/complex
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/invalid/.dirs/runtime
609s ok 3 /gdbus/message-serialize/invalid
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/.dirs/runtime
609s ok 4 /gdbus/message-serialize/header-checks
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/double-array/.dirs/runtime
609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
609s ok 5 /gdbus/message-serialize/double-array
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/empty-structure/.dirs/runtime
609s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
609s ok 6 /gdbus/message-serialize/empty-structure
609s # Start of header-checks tests
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-serialize/header-checks/valid/.dirs/runtime
609s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
609s ok 7 /gdbus/message-serialize/header-checks/valid
609s # End of header-checks tests
609s # End of message-serialize tests
609s # Start of message-parse tests
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
609s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/non-signature-header/.dirs/runtime
609s ok 9 /gdbus/message-parse/non-signature-header
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-signature-header/.dirs/runtime
609s ok 10 /gdbus/message-parse/empty-signature-header
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/multiple-signature-header/.dirs/runtime
609s ok 11 /gdbus/message-parse/multiple-signature-header
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/over-long-signature-header/.dirs/runtime
609s ok 12 /gdbus/message-parse/over-long-signature-header
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-header-nesting/.dirs/runtime
609s ok 13 /gdbus/message-parse/deep-header-nesting
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/deep-body-nesting/.dirs/runtime
609s ok 14 /gdbus/message-parse/deep-body-nesting
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/truncated/.dirs/runtime
609s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
609s ok 15 /gdbus/message-parse/truncated
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/empty-structure/.dirs/runtime
609s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
609s ok 16 /gdbus/message-parse/empty-structure
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/missing-header/.dirs/runtime
609s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
609s ok 17 /gdbus/message-parse/missing-header
609s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/home
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/cache
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/system-config2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/config
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/system-data2
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/data
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/state
609s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SGF9J3/gdbus/message-parse/invalid-header-type/.dirs/runtime
609s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
609s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
609s ok 18 /gdbus/message-parse/invalid-header-type
609s # End of message-parse tests
609s # End of gdbus tests
609s ok - glib/gdbus-serialization.test
609s # Running test: glib/network-monitor-race.test
609s TAP version 14
609s # random seed: R02S1c2604e827194c05684a6a4f477237c7
609s 1..1
609s # Start of network-monitor tests
609s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
611s ok 1 /network-monitor/create-in-thread
611s # slow test /network-monitor/create-in-thread executed in 2.14 secs
611s # End of network-monitor tests
611s ok - glib/network-monitor-race.test
611s # Running test: glib/utils-c-17.test
611s TAP version 14
611s # random seed: R02S83c09064bcba72b11adfea20709604fa
611s 1..41
611s # Start of utils tests
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/language-names/.dirs/runtime
611s ok 1 /utils/language-names
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/locale-variants/.dirs/runtime
611s # Testing locale ‘en’
611s # Testing locale ‘sr@latin’
611s # Testing locale ‘fr_BE’
611s # Testing locale ‘sr_SR@latin’
611s # Testing locale ‘sr_SR@latin.UTF-8’
611s # Testing locale ‘sr@latin_invalid’
611s # Testing locale ‘sr.UTF-8@latin’
611s # Testing locale ‘sr.UTF-8_latin’
611s # Testing locale ‘sr.UTF-8@latin_invalid’
611s ok 2 /utils/locale-variants
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/version/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/version/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/version/.dirs/runtime
611s ok 3 /utils/version
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/appname/.dirs/runtime
611s ok 4 /utils/appname
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/prgname-thread-safety/.dirs/runtime
611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
611s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
611s ok 5 /utils/prgname-thread-safety
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/tmpdir/.dirs/runtime
611s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
611s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/tmpdir: No such file or directory
611s ok 6 /utils/tmpdir
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/basic_bits/.dirs/runtime
611s ok 7 /utils/basic_bits
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/bits/.dirs/runtime
611s ok 8 /utils/bits
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/swap/.dirs/runtime
611s ok 9 /utils/swap
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/find-program/.dirs/runtime
611s ok 10 /utils/find-program
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/find-program-for-path/.dirs/runtime
611s ok 11 /utils/find-program-for-path
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/debug/.dirs/runtime
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/debug: No such file or directory
611s ok 12 /utils/debug
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/codeset/.dirs/runtime
611s ok 13 /utils/codeset
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/codeset2/.dirs/runtime
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/codeset2: No such file or directory
611s ok 14 /utils/codeset2
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/console-charset/.dirs/runtime
611s ok 15 /utils/console-charset
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/gettext/.dirs/runtime
611s ok 16 /utils/gettext
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/username/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/username/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/username/.dirs/runtime
611s ok 17 /utils/username
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/realname/.dirs/runtime
611s ok 18 /utils/realname
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/hostname/.dirs/runtime
611s ok 19 /utils/hostname
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/os-info/.dirs/runtime
611s # NAME: Ubuntu
611s ok 20 /utils/os-info
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/.dirs/runtime
611s ok 21 /utils/clear-pointer
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer-cast/.dirs/runtime
611s ok 22 /utils/clear-pointer-cast
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/take-pointer/.dirs/runtime
611s ok 23 /utils/take-pointer
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-source/.dirs/runtime
611s ok 24 /utils/clear-source
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/misc-mem/.dirs/runtime
611s ok 25 /utils/misc-mem
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/.dirs/runtime
611s # /utils/aligned-mem summary: Aligned memory allocator
611s # Alignment must not be zero
611s # Alignment must be a power of two
611s # Alignment must be a multiple of sizeof(void*)
611s ok 26 /utils/aligned-mem
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/free-sized/.dirs/runtime
611s # /utils/free-sized summary: Check that g_free_sized() works
611s ok 27 /utils/free-sized
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/nullify/.dirs/runtime
611s ok 28 /utils/nullify
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/atexit/.dirs/runtime
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/atexit: No such file or directory
611s ok 29 /utils/atexit
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/check-setuid/.dirs/runtime
611s ok 30 /utils/check-setuid
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/int-limits/.dirs/runtime
611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
611s ok 31 /utils/int-limits
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-list/.dirs/runtime
611s ok 32 /utils/clear-list
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-slist/.dirs/runtime
611s ok 33 /utils/clear-slist
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/steal-handle-id/.dirs/runtime
611s ok 34 /utils/steal-handle-id
611s # Start of user-special-dirs tests
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/desktop/.dirs/runtime
611s ok 35 /utils/user-special-dirs/desktop
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
611s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
611s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/load-unlocked: No such file or directory
611s ok 36 /utils/user-special-dirs/load-unlocked
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
611s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
611s Unable to clean up temporary directory /tmp/test_utils-c-17_26OIK3/utils/user-special-dirs/reload-leaks: No such file or directory
611s ok 37 /utils/user-special-dirs/reload-leaks
611s # End of user-special-dirs tests
611s # Start of clear-pointer tests
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/clear-pointer/side-effects/.dirs/runtime
611s ok 38 /utils/clear-pointer/side-effects
611s # End of clear-pointer tests
611s # Start of aligned-mem tests
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/state
611s ok - glib/utils-c-17.test
611s # Running test: glib/strfuncs.test
611s ok - glib/strfuncs.test
611s # Running test: glib/gdbus-bz627724.test
611s ok - glib/gdbus-bz627724.test
611s # Running test: glib/rwlock.test
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/alignment/.dirs/runtime
611s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
611s ok 39 /utils/aligned-mem/alignment
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/zeroed/.dirs/runtime
611s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
611s ok 40 /utils/aligned-mem/zeroed
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-17_26OIK3/utils/aligned-mem/free-sized/.dirs/runtime
611s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
611s ok 41 /utils/aligned-mem/free-sized
611s # Start of subprocess tests
611s # End of subprocess tests
611s # End of aligned-mem tests
611s # End of utils tests
611s TAP version 14
611s # random seed: R02S95d97f438958ed19049f4e852191cf9d
611s 1..51
611s # Start of strfuncs tests
611s ok 1 /strfuncs/ascii-strcasecmp
611s ok 2 /strfuncs/ascii_strdown
611s ok 3 /strfuncs/ascii_strdup
611s ok 4 /strfuncs/ascii_strtod
611s ok 5 /strfuncs/bounds-check
611s ok 6 /strfuncs/has-prefix
611s ok 7 /strfuncs/has-prefix-macro
611s ok 8 /strfuncs/has-suffix
611s ok 9 /strfuncs/has-suffix-macro
611s ok 10 /strfuncs/memdup
611s ok 11 /strfuncs/memdup2
611s ok 12 /strfuncs/set_str
611s ok 13 /strfuncs/stpcpy
611s ok 14 /strfuncs/str_match_string
611s ok 15 /strfuncs/str_tokenize_and_fold
611s ok 16 /strfuncs/strcanon
611s ok 17 /strfuncs/strchomp
611s ok 18 /strfuncs/strchug
611s ok 19 /strfuncs/strcompress-strescape
611s ok 20 /strfuncs/strconcat
611s ok 21 /strfuncs/strdelimit
611s ok 22 /strfuncs/strdup
611s ok 23 /strfuncs/strdup-printf
611s ok 24 /strfuncs/strdupv
611s ok 25 /strfuncs/strerror
611s ok 26 /strfuncs/strip-context
611s ok 27 /strfuncs/strjoin
611s ok 28 /strfuncs/strjoinv
611s ok 29 /strfuncs/strlcat
611s ok 30 /strfuncs/strlcpy
611s ok 31 /strfuncs/strncasecmp
611s ok 32 /strfuncs/strndup
611s ok 33 /strfuncs/strnfill
611s ok 34 /strfuncs/strreverse
611s ok 35 /strfuncs/strsignal
611s ok 36 /strfuncs/strsplit
611s ok 37 /strfuncs/strsplit-set
611s ok 38 /strfuncs/strstr
611s ok 39 /strfuncs/strtod
611s ok 40 /strfuncs/strtoull-strtoll
611s ok 41 /strfuncs/strup
611s ok 42 /strfuncs/strv-contains
611s ok 43 /strfuncs/strv-equal
611s ok 44 /strfuncs/strv-length
611s ok 45 /strfuncs/test-is-to-digit
611s ok 46 /strfuncs/transliteration
611s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
611s ok 47 /strfuncs/str-equal
611s ok 48 /strfuncs/str-is-ascii
611s # Start of ascii-string-to-num tests
611s ok 49 /strfuncs/ascii-string-to-num/pathological
611s ok 50 /strfuncs/ascii-string-to-num/usual
611s # End of ascii-string-to-num tests
611s # Start of strdup tests
611s ok 51 /strfuncs/strdup/inline
611s # End of strdup tests
611s # End of strfuncs tests
611s TAP version 14
611s # random seed: R02S9968fb5688b34faa4cc5a227e87f0105
611s 1..1
611s # Start of gdbus tests
611s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/home
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/cache
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/system-config2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/config
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/system-data2
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/data
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/state
611s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_YIYJK3/gdbus/bz627724/.dirs/runtime
611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
611s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
611s ok 1 /gdbus/bz627724
611s # End of gdbus tests
611s TAP version 14
611s # random seed: R02S2a398cb1274f8ebcc260411c36612d95
611s 1..8
611s # Start of thread tests
611s ok 1 /thread/rwlock1
611s ok 2 /thread/rwlock2
611s ok 3 /thread/rwlock3
611s ok 4 /thread/rwlock4
611s ok 5 /thread/rwlock5
611s ok 6 /thread/rwlock6
614s # Executing: glib/rwlock.test
615s ok 7 /thread/rwlock7
615s # slow test /thread/rwlock7 executed in 3.33 secs
615s ok - glib/rwlock.test
615s # Running test: glib/memory-monitor-psi.test
615s ok 8 /thread/rwlock8
615s # End of thread tests
615s TAP version 14
615s # random seed: R02S1fb90bcc7f6146878a29a82980804325
615s 1..1
615s # Start of memory-monitor-psi tests
615s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/home
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/cache
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/system-config1:/tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/system-config2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/config
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/system-data1:/tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/system-data2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/data
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/state
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_memory-monitor-psi_0LJ7J3/memory-monitor-psi/receive-signal/.dirs/runtime
615s # GLib-GIO-DEBUG: Write trigger some 70000 2000000
615s # GLib-GIO-DEBUG: Write trigger some 100000 2000000
615s # GLib-GIO-DEBUG: Write trigger full 100000 2000000
615s # GLib-GIO-DEBUG: Send low memory signal with warning level 0
615s ok - glib/memory-monitor-psi.test
615s # Running test: glib/hmac.test
615s ok - glib/hmac.test
615s # Running test: glib/static-link.test
615s # GLib-GIO-DEBUG: Send low memory signal with warning level 1
615s # GLib-GIO-DEBUG: Send low memory signal with warning level 2
615s ok 1 /memory-monitor-psi/receive-signal
615s # End of memory-monitor-psi tests
615s TAP version 14
615s # random seed: R02S4a1703f5cb6aaa5f360c3d437f32ed6f
615s 1..37
615s # Start of hmac tests
615s ok 1 /hmac/sha1-1
615s ok 2 /hmac/sha1-2
615s ok 3 /hmac/sha1-3
615s ok 4 /hmac/sha1-4
615s ok 5 /hmac/sha1-5
615s ok 6 /hmac/sha1-6
615s ok 7 /hmac/sha1-7
615s ok 8 /hmac/sha256-1
615s ok 9 /hmac/sha256-2
615s ok 10 /hmac/sha256-3
615s ok 11 /hmac/sha256-4
615s ok 12 /hmac/sha256-5
615s ok 13 /hmac/sha256-6
615s ok 14 /hmac/sha384-1
615s ok 15 /hmac/sha384-2
615s ok 16 /hmac/sha384-3
615s ok 17 /hmac/sha384-4
615s ok 18 /hmac/sha384-5
615s ok 19 /hmac/sha384-6
615s ok 20 /hmac/sha512-1
615s ok 21 /hmac/sha512-2
615s ok 22 /hmac/sha512-3
615s ok 23 /hmac/sha512-4
615s ok 24 /hmac/sha512-5
615s ok 25 /hmac/sha512-6
615s ok 26 /hmac/md5-1
615s ok 27 /hmac/md5-2
615s ok 28 /hmac/md5-3
615s ok 29 /hmac/md5-4
615s ok 30 /hmac/md5-5
615s ok 31 /hmac/md5-6
615s ok 32 /hmac/md5-7
615s ok 33 /hmac/ref-unref
615s ok 34 /hmac/copy
615s ok 35 /hmac/for-data
615s ok 36 /hmac/for-string
615s ok 37 /hmac/for-bytes
615s # End of hmac tests
615s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
615s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
615s and make sure you have glib build dependencies installed, including
615s meson.
615s ok # SKIP - glib/static-link.test
615s # Running test: glib/strvbuilder.test
615s ok - glib/strvbuilder.test
615s # Running test: glib/buffered-input-stream.test
615s TAP version 14
615s # random seed: R02Sde0fb666694baccf4448ce450ef46e90
615s 1..7
615s # Start of strvbuilder tests
615s ok 1 /strvbuilder/empty
615s ok 2 /strvbuilder/add
615s ok 3 /strvbuilder/addv
615s ok 4 /strvbuilder/add_many
615s ok 5 /strvbuilder/take
615s ok 6 /strvbuilder/ref
615s ok 7 /strvbuilder/unref_to_strv
615s # End of strvbuilder tests
615s TAP version 14
615s # random seed: R02S37cdb055b48013a3917f4de59e0a355f
615s 1..10
615s # Start of buffered-input-stream tests
615s ok 1 /buffered-input-stream/peek
615s ok 2 /buffered-input-stream/peek-buffer
615s ok 3 /buffered-input-stream/set-buffer-size
615s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
615s ok - glib/buffered-input-stream.test
615s # Running test: glib/closure-refcount.test
615s ok 4 /buffered-input-stream/read-byte
615s ok 5 /buffered-input-stream/read
615s ok 6 /buffered-input-stream/read-async
615s ok 7 /buffered-input-stream/skip
615s ok 8 /buffered-input-stream/skip-async
615s ok 9 /buffered-input-stream/seek
615s # End of buffered-input-stream tests
615s # Start of filter-input-stream tests
615s ok 10 /filter-input-stream/close
615s # End of filter-input-stream tests
615s TAP version 14
615s # random seed: R02S864ac12ffb96342e0bbbdddbc94ae77c
615s 1..1
615s # Start of closure tests
615s # Init 0xc53e723c3dc0
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from thread1
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from thread2
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from main thread
615s # Yielding from thread1
615s ok - glib/closure-refcount.test
615s # Yielding from thread2
615s # Stopping
615s # Stopped
615s ok 1 /closure/refcount
615s # End of closure tests
615s # Running test: glib/dynamictests.test
615s TAP version 14
615s # random seed: R02Se7f502275a7eadb639410020b8bdcec7
615s 1..2
615s # Start of GObject tests
615s ok 1 /GObject/threaded-dynamic-ref-unref-init
615s ok 2 /GObject/dynamic-interface-properties
615s ok - glib/dynamictests.test
615s # Running test: glib/once.test
615s # End of GObject tests
615s TAP version 14
615s # random seed: R02Sa14554e44863f9b96e74aca006311bcb
615s 1..5
615s # Start of once tests
615s # /once/single-threaded summary: Test g_once() usage from a single thread
615s ok 1 /once/single-threaded
615s # /once/multi-threaded summary: Test g_once() usage from multiple threads
615s ok 2 /once/multi-threaded
615s # End of once tests
615s # Start of once-init tests
615s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
615s ok 3 /once-init/single-threaded
615s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
615s ok 4 /once-init/multi-threaded
615s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
615s ok 5 /once-init/string
615s # End of once-init tests
615s ok - glib/once.test
615s # Running test: glib/gdbus-sasl.test
615s TAP version 14
615s # random seed: R02Sb4c65e3bf57cbd9ee59fba36d3e0b3c1
615s 1..1
615s # Start of gdbus tests
615s # Start of sasl tests
615s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/home
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/cache
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/system-config2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/config
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/system-data2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/data
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/state
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_NZP9J3/gdbus/sasl/server/.dirs/runtime
615s # New handshake: EXTERNAL with incorrect initial response
615s # C:“AUTH EXTERNAL 30”
615s # Expect: /^REJECTED.*$/
615s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1”
615s # New handshake: EXTERNAL without initial response, failing to authenticate
615s ok - glib/gdbus-sasl.test
615s # C:“AUTH EXTERNAL”
615s # Expect: /^DATA$/
615s # S:“DATA”
615s # C:“DATA 30”
615s # Expect: /^REJECTED.*$/
615s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1”
615s # New handshake: EXTERNAL with initial response
615s # C:“AUTH EXTERNAL 31303030”
615s # Expect: /^OK [0-9a-f]+$/
615s # S:“OK 238d19b30b8a0a46f85f2fc1698274b0”
615s # New handshake: EXTERNAL without initial response
615s # C:“AUTH EXTERNAL”
615s # Expect: /^DATA$/
615s # S:“DATA”
615s # C:“DATA 31303030”
615s # Expect: /^OK [0-9a-f]+$/
615s # S:“OK 238d19b30b8a0a46f85f2fc1698274b0”
615s # New handshake: EXTERNAL with empty authorization identity
615s # C:“AUTH EXTERNAL”
615s # Expect: /^DATA$/
615s # S:“DATA”
615s # C:“DATA”
615s # Expect: /^OK [0-9a-f]+$/
615s # S:“OK 238d19b30b8a0a46f85f2fc1698274b0”
615s # New handshake: EXTERNAL with empty authorization identity and whitespace
615s # C:“AUTH EXTERNAL”
615s # Expect: /^DATA$/
615s # S:“DATA”
615s # C:“DATA ”
615s # Expect: /^OK [0-9a-f]+$/
615s # S:“OK 238d19b30b8a0a46f85f2fc1698274b0”
615s ok 1 /gdbus/sasl/server
615s # End of sasl tests
615s # End of gdbus tests
615s # Running test: glib/gdbus-proxy-well-known-name.test
615s TAP version 14
615s # random seed: R02Sb5419b343d8d571a1e38716249130bad
615s 1..1
615s # Start of gdbus tests
615s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/home
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/cache
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/system-config2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/config
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/system-data2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/data
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/state
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_VPK9J3/gdbus/proxy-well-known-name/.dirs/runtime
615s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
615s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
615s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
615s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
615s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
615s ok 1 /gdbus/proxy-well-known-name
615s # End of gdbus tests
615s ok - glib/gdbus-proxy-well-known-name.test
615s # Running test: glib/singleton.test
615s TAP version 14
615s # random seed: R02Sf6b65ae87b9a9534b2909483ed23e76a
615s 1..2
615s # Start of gobject tests
615s # Start of singleton tests
615s ok 1 /gobject/singleton/construction
615s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
615s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
615s ok 2 /gobject/singleton/construct-property
615s # End of singleton tests
615s # End of gobject tests
615s ok - glib/singleton.test
615s # Running test: glib/gdbus-close-pending.test
615s TAP version 14
615s # random seed: R02S08c5266e53b69ae09185abe7c73ddff5
615s 1..2
615s # Start of gdbus tests
615s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/home
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/cache
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/system-config2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/config
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/system-data2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/data
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/state
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/close-pending/.dirs/runtime
615s ok 1 /gdbus/close-pending
615s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/home
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/cache
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/system-config2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/config
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/system-data2
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/data
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/state
615s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_MQ89J3/gdbus/unref-pending/.dirs/runtime
616s ok 2 /gdbus/unref-pending
616s # End of gdbus tests
616s ok - glib/gdbus-close-pending.test
616s # Running test: glib/dir.test
616s TAP version 14
616s # random seed: R02Sb79ea648fb92bd4b183419983653050d
616s 1..3
616s # Start of dir tests
616s ok 1 /dir/read
616s ok 2 /dir/nonexisting
616s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
616s ok 3 /dir/refcounting
616s # End of dir tests
616s ok - glib/dir.test
616s # Running test: glib/threadtests.test
616s TAP version 14
616s # random seed: R02Scadca96d558a2fc807e2373fa4bd636e
616s 1..5
616s # Start of GObject tests
616s ok 1 /GObject/threaded-object-init
616s ok 2 /GObject/threaded-weak-ref
616s # slow test /GObject/threaded-weak-ref executed in 0.65 secs
616s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
616s # /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
617s ok 3 /GObject/threaded-toggle-notify
617s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
617s # Start of threaded-weak-ref tests
617s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
617s # /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.
617s ok 5 /GObject/threaded-weak-ref/on-finalization
617s # End of threaded-weak-ref tests
617s # End of GObject tests
617s ok - glib/threadtests.test
617s # Running test: glib/gobject-query.py.test
617s TAP version 13
617s ok 1 __main__.TestGobjectQuery.test_froots
617s # gobject-query: /usr/bin/gobject-query
617s # tmpdir: /tmp/tmpdwk49hzk
617s # Running: ['/usr/bin/gobject-query', 'froots']
617s # Return code: 0
617s # Output:
617s # ├void
617s # ├GInterface
617s # │ └GTypePlugin
617s # ├gchar
617s # ├guchar
617s # ├gboolean
617s # ├gint
617s # ├guint
617s # ├glong
617s # ├gulong
617s # ├gint64
617s # ├guint64
617s # ├GEnum
617s # ├GFlags
617s # ├gfloat
617s # ├gdouble
617s # ├gchararray
617s # ├gpointer
617s # │ └GType
617s # ├GBoxed
617s # │ └GValueArray
617s # ├GParam
617s # │ ├GParamChar
617s # │ ├GParamUChar
617s # │ ├GParamBoolean
617s # │ ├GParamInt
617s # │ ├GParamUInt
617s # │ ├GParamLong
617s # │ ├GParamULong
617s # │ ├GParamInt64
617s # │ ├GParamUInt64
617s # │ ├GParamUnichar
617s # │ ├GParamEnum
617s # │ ├GParamFlags
617s # │ ├GParamFloat
617s # │ ├GParamDouble
617s # │ ├GParamString
617s # │ ├GParamParam
617s # │ ├GParamBoxed
617s # │ ├GParamPointer
617s # │ ├GParamValueArray
617s # │ ├GParamObject
617s # │ ├GParamOverride
617s # │ ├GParamGType
617s # │ └GParamVariant
617s # ├GObject
617s # └GVariant
617s # Error:
617s ok 2 __main__.TestGobjectQuery.test_help
617s # gobject-query: /usr/bin/gobject-query
617s # tmpdir: /tmp/tmpeoznrkqw
617s # Running: ['/usr/bin/gobject-query', '--help']
617s # Return code: 0
617s # Output:
617s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
617s # -r specify root type
617s # -n don't descend type tree
617s # -h show help
617s # -b specify indent string
617s # -i specify incremental indent string
617s # -s specify line spacing
617s # qualifiers:
617s # froots iterate over fundamental roots
617s # tree print type tree
617s # Error:
617s ok 3 __main__.TestGobjectQuery.test_tree
617s # gobject-query: /usr/bin/gobject-query
617s # tmpdir: /tmp/tmp019vmd26
617s # Running: ['/usr/bin/gobject-query', 'tree']
617s # Return code: 0
617s # Output:
617s # GObject
617s # Error:
617s ok 4 __main__.TestGobjectQuery.test_version
617s # gobject-query: /usr/bin/gobject-query
617s # tmpdir: /tmp/tmpt371qrpz
617s # Running: ['/usr/bin/gobject-query', '--version']
617s # Return code: 0
617s # Output:
617s # 2.86.3
617s # Error:
617s 1..4
617s ok - glib/gobject-query.py.test
617s # Running test: glib/pattern.test
617s TAP version 14
617s # random seed: R02S8e0e525b3d52e2752b5723c1540aabef
617s 1..90
617s # Start of pattern tests
617s # Start of compile tests
617s ok 1 /pattern/compile/0
617s ok 2 /pattern/compile/1
617s ok 3 /pattern/compile/2
617s ok 4 /pattern/compile/3
617s ok 5 /pattern/compile/4
617s ok 6 /pattern/compile/5
617s ok 7 /pattern/compile/6
617s ok 8 /pattern/compile/7
617s ok 9 /pattern/compile/8
617s ok 10 /pattern/compile/9
617s ok 11 /pattern/compile/10
617s ok 12 /pattern/compile/11
617s ok 13 /pattern/compile/12
617s ok 14 /pattern/compile/13
617s # End of compile tests
617s # Start of copy tests
617s ok 15 /pattern/copy/0
617s ok 16 /pattern/copy/1
617s ok 17 /pattern/copy/2
617s ok 18 /pattern/copy/3
617s ok 19 /pattern/copy/4
617s ok 20 /pattern/copy/5
617s ok 21 /pattern/copy/6
617s ok 22 /pattern/copy/7
617s ok 23 /pattern/copy/8
617s ok 24 /pattern/copy/9
617s ok 25 /pattern/copy/10
617s ok 26 /pattern/copy/11
617s ok 27 /pattern/copy/12
617s ok 28 /pattern/copy/13
617s # End of copy tests
617s # Start of match tests
617s ok 29 /pattern/match/0
617s ok 30 /pattern/match/1
617s ok 31 /pattern/match/2
617s ok 32 /pattern/match/3
617s ok 33 /pattern/match/4
617s ok 34 /pattern/match/5
617s ok 35 /pattern/match/6
617s ok 36 /pattern/match/7
617s ok 37 /pattern/match/8
617s ok 38 /pattern/match/9
617s ok 39 /pattern/match/10
617s ok 40 /pattern/match/11
617s ok 41 /pattern/match/12
617s ok 42 /pattern/match/13
617s ok 43 /pattern/match/14
617s ok 44 /pattern/match/15
617s ok 45 /pattern/match/16
617s ok 46 /pattern/match/17
617s ok 47 /pattern/match/18
617s ok 48 /pattern/match/19
617s ok 49 /pattern/match/20
617s ok 50 /pattern/match/21
617s ok 51 /pattern/match/22
617s ok 52 /pattern/match/23
617s ok 53 /pattern/match/24
617s ok 54 /pattern/match/25
617s ok 55 /pattern/match/26
617s ok 56 /pattern/match/27
617s ok 57 /pattern/match/28
617s ok 58 /pattern/match/29
617s ok 59 /pattern/match/30
617s ok 60 /pattern/match/31
617s ok 61 /pattern/match/32
617s ok 62 /pattern/match/33
617s ok 63 /pattern/match/34
617s ok 64 /pattern/match/35
617s ok 65 /pattern/match/36
617s ok 66 /pattern/match/37
617s ok 67 /pattern/match/38
617s ok 68 /pattern/match/39
617s ok 69 /pattern/match/40
617s ok 70 /pattern/match/41
617s ok 71 /pattern/match/42
617s ok 72 /pattern/match/43
617s ok 73 /pattern/match/44
617s ok 74 /pattern/match/45
617s ok 75 /pattern/match/46
617s ok 76 /pattern/match/47
617s ok 77 /pattern/match/48
617s ok 78 /pattern/match/49
617s ok 79 /pattern/match/50
617s # End of match tests
617s # Start of equal tests
617s ok 80 /pattern/equal/0
617s ok 81 /pattern/equal/1
617s ok 82 /pattern/equal/2
617s ok 83 /pattern/equal/3
617s ok 84 /pattern/equal/4
617s ok 85 /pattern/equal/5
617s ok 86 /pattern/equal/6
617s ok 87 /pattern/equal/7
617s ok 88 /pattern/equal/8
617s ok 89 /pattern/equal/9
617s ok 90 /pattern/equal/10
617s # End of equal tests
617s # End of pattern tests
617s ok - glib/pattern.test
617s # Running test: glib/gdatetime.test
617s TAP version 14
617s # random seed: R02S0225c32e8dd459a0a8aa34821c2ac410
617s 1..68
617s # Start of GDateTime tests
617s # Bug Reference: http://bugzilla.gnome.org/702674
617s ok 1 /GDateTime/invalid
617s ok 2 /GDateTime/add_days
617s ok 3 /GDateTime/add_full
617s ok 4 /GDateTime/add_hours
617s ok 5 /GDateTime/add_minutes
617s ok 6 /GDateTime/add_months
617s ok 7 /GDateTime/add_seconds
617s ok 8 /GDateTime/add_weeks
617s ok 9 /GDateTime/add_years
617s ok 10 /GDateTime/compare
617s ok 11 /GDateTime/diff
617s ok 12 /GDateTime/equal
617s ok 13 /GDateTime/get_day_of_week
617s ok 14 /GDateTime/get_day_of_month
617s ok 15 /GDateTime/get_day_of_year
617s ok 16 /GDateTime/get_hour
617s ok 17 /GDateTime/get_microsecond
617s ok 18 /GDateTime/get_minute
617s ok 19 /GDateTime/get_month
617s ok 20 /GDateTime/get_second
617s ok 21 /GDateTime/get_utc_offset
617s ok 22 /GDateTime/get_year
617s ok 23 /GDateTime/hash
617s ok 24 /GDateTime/new_from_unix
617s ok 25 /GDateTime/new_from_unix_utc
617s ok 26 /GDateTime/new_from_timeval
617s ok 27 /GDateTime/new_from_timeval_utc
617s ok 28 /GDateTime/new_from_iso8601
617s ok 29 /GDateTime/new_full
617s ok 30 /GDateTime/now
617s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
617s ok 31 /GDateTime/test-6-days-until-end-of-the-month
617s # %a -> expected: Sat
617s # %a -> actual: Sat
617s # %A -> expected: Saturday
617s # %A -> actual: Saturday
617s # %b -> expected: Oct
617s # %b -> actual: Oct
617s # %B -> expected: October
617s # %B -> actual: October
617s # %d -> expected: 24
617s # %d -> actual: 24
617s # %d -> expected: 01
617s # %d -> actual: 01
617s # %e -> expected: 24
617s # %e -> actual: 24
617s # %e -> expected: 1
617s # %e -> actual: 1
617s # %f -> expected: 001000
617s # %f -> actual: 001000
617s # %h -> expected: Oct
617s # %h -> actual: Oct
617s # %H -> expected: 00
617s # %H -> actual: 00
617s # %H -> expected: 15
617s # %H -> actual: 15
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %I -> expected: 03
617s # %I -> actual: 03
617s # %j -> expected: 297
617s # %j -> actual: 297
617s # %k -> expected: 0
617s # %k -> actual: 0
617s # %k -> expected: 13
617s # %k -> actual: 13
617s # %l -> expected: 12
617s # %l -> actual: 12
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %l -> expected: 1
617s # %l -> actual: 1
617s # %l -> expected: 10
617s # %l -> actual: 10
617s # %m -> expected: 10
617s # %m -> actual: 10
617s # %M -> expected: 00
617s # %M -> actual: 00
617s # %p -> expected: AM
617s # %p -> actual: AM
617s # %p -> expected: PM
617s # %p -> actual: PM
617s # %P -> expected: am
617s # %P -> actual: am
617s # %P -> expected: pm
617s # %P -> actual: pm
617s # %r -> expected: 12:00:00 AM
617s # %r -> actual: 12:00:00 AM
617s # %r -> expected: 01:13:13 PM
617s # %r -> actual: 01:13:13 PM
617s # %R -> expected: 00:00
617s # %R -> actual: 00:00
617s # %R -> expected: 13:13
617s # %R -> actual: 13:13
617s # %S -> expected: 00
617s # %S -> actual: 00
617s # %t -> expected:
617s # %t -> actual:
617s # %u -> expected: 6
617s # %u -> actual: 6
617s # %x -> expected: 10/24/09
617s # %x -> actual: 10/24/09
617s # %X -> expected: 00:00:00
617s # %X -> actual: 00:00:00
617s # %X -> expected: 13:14:15
617s # %X -> actual: 13:14:15
617s # %y -> expected: 09
617s # %y -> actual: 09
617s # %Y -> expected: 2009
617s # %Y -> actual: 2009
617s # %% -> expected: %
617s # %% -> actual: %
617s # % -> expected:
617s # % -> actual:
617s # %9 -> expected: (null)
617s # %9 -> actual: (null)
617s # %Z -> expected: UTC
617s # %Z -> actual: UTC
617s # %#Z %Z -> expected: utc UTC
617s # %#Z %Z -> actual: utc UTC
617s ok 32 /GDateTime/printf
617s # %a -> expected: 土
617s # %a -> actual: 土
617s # %A -> expected: 土曜日
617s # %A -> actual: 土曜日
617s # %b -> expected: 10月
617s # %b -> actual: 10月
617s # %B -> expected: 10月
617s # %B -> actual: 10月
617s # %c -> expected: 2009年10月24日 00時00分00秒
617s # %c -> actual: 2009年10月24日 00時00分00秒
617s # %C -> expected: 20
617s # %C -> actual: 20
617s # %d -> expected: 24
617s # %d -> actual: 24
617s # %d -> expected: 01
617s # %d -> actual: 01
617s # %e -> expected: 24
617s # %e -> actual: 24
617s # %h -> expected: 10月
617s # %h -> actual: 10月
617s # %H -> expected: 00
617s # %H -> actual: 00
617s # %H -> expected: 15
617s # %H -> actual: 15
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %I -> expected: 03
617s # %I -> actual: 03
617s # %j -> expected: 297
617s # %j -> actual: 297
617s # %k -> expected: 0
617s # %k -> actual: 0
617s # %k -> expected: 13
617s # %k -> actual: 13
617s # %l -> expected: 12
617s # %l -> actual: 12
617s # %I -> expected: 12
617s # %I -> actual: 12
617s # %l -> expected: 1
617s # %l -> actual: 1
617s # %l -> expected: 10
617s # %l -> actual: 10
617s # %m -> expected: 10
617s # %m -> actual: 10
617s # %M -> expected: 00
617s # %M -> actual: 00
617s # %p -> expected: 午前
617s # %p -> actual: 午前
617s # %p -> expected: 午後
617s # %p -> actual: 午後
617s # %P -> expected: 午前
617s # %P -> actual: 午前
617s # %P -> expected: 午後
617s # %P -> actual: 午後
617s # %r -> expected: 午前12時00分00秒
617s # %r -> actual: 午前12時00分00秒
617s # %r -> expected: 午後01時13分13秒
617s # %r -> actual: 午後01時13分13秒
617s # %R -> expected: 00:00
617s # %R -> actual: 00:00
617s # %R -> expected: 13:13
617s # %R -> actual: 13:13
617s # %S -> expected: 00
617s # %S -> actual: 00
617s # %t -> expected:
617s # %t -> actual:
617s # %u -> expected: 6
617s # %u -> actual: 6
617s # %x -> expected: 2009年10月24日
617s # %x -> actual: 2009年10月24日
617s # %X -> expected: 00時00分00秒
617s # %X -> actual: 00時00分00秒
617s # %X -> expected: 13時14分15秒
617s # %X -> actual: 13時14分15秒
617s # %y -> expected: 09
617s # %y -> actual: 09
617s # %Y -> expected: 2009
617s # %Y -> actual: 2009
617s # %% -> expected: %
617s # %% -> actual: %
617s # % -> expected:
617s # % -> actual:
617s # %9 -> expected: (null)
617s # %9 -> actual: (null)
617s # %Ec -> expected: 平成21年10月24日 00時00分00秒
617s # %Ec -> actual: 平成21年10月24日 00時00分00秒
617s # %EC -> expected: 平成
617s # %EC -> actual: 平成
617s # %Ex -> expected: 平成21年10月24日
617s # %Ex -> actual: 平成21年10月24日
617s # %EX -> expected: 00時00分00秒
617s # %EX -> actual: 00時00分00秒
617s # %Ey -> expected: 21
617s # %Ey -> actual: 21
617s # %EY -> expected: 平成21年
617s # %EY -> actual: 平成21年
617s ok 33 /GDateTime/non_utf8_printf
617s # ąśćł -> expected: ąśćł
617s # ąśćł -> actual: ąśćł
617s # %H∶%M -> expected: 23∶15
617s # %H∶%M -> actual: 23∶15
617s # %H∶%M -> expected: 23∶15
617s # %H∶%M -> actual: 23∶15
617s ok 34 /GDateTime/format_unrepresentable
617s ok 35 /GDateTime/format_iso8601
617s ok 36 /GDateTime/strftime
617s # %d -> expected: 01
617s # %d -> actual: 01
617s # %_d -> expected: 1
617s # %_d -> actual: 1
617s # %-d -> expected: 1
617s # %-d -> actual: 1
617s # %0d -> expected: 01
617s # %0d -> actual: 01
617s # %d -> expected: 21
617s # %d -> actual: 21
617s # %_d -> expected: 21
617s # %_d -> actual: 21
617s # %-d -> expected: 21
617s # %-d -> actual: 21
617s # %0d -> expected: 21
617s # %0d -> actual: 21
617s # %e -> expected: 1
617s # %e -> actual: 1
617s # %_e -> expected: 1
617s # %_e -> actual: 1
617s # %-e -> expected: 1
617s # %-e -> actual: 1
617s # %0e -> expected: 01
617s # %0e -> actual: 01
617s # %e -> expected: 21
617s # %e -> actual: 21
617s # %_e -> expected: 21
617s # %_e -> actual: 21
617s # %-e -> expected: 21
617s # %-e -> actual: 21
617s # %0e -> expected: 21
617s # %0e -> actual: 21
617s # %a -> expected: Thu
617s # %a -> actual: Thu
617s # %^a -> expected: THU
617s # %^a -> actual: THU
617s # %#a -> expected: THU
617s # %#a -> actual: THU
617s # %A -> expected: Thursday
617s # %A -> actual: Thursday
617s # %^A -> expected: THURSDAY
617s # %^A -> actual: THURSDAY
617s # %#A -> expected: THURSDAY
617s # %#A -> actual: THURSDAY
617s # %b -> expected: Jan
617s # %b -> actual: Jan
617s # %^b -> expected: JAN
617s # %^b -> actual: JAN
617s # %#b -> expected: JAN
617s # %#b -> actual: JAN
617s # %B -> expected: January
617s # %B -> actual: January
617s # %^B -> expected: JANUARY
617s # %^B -> actual: JANUARY
617s # %#B -> expected: JANUARY
617s # %#B -> actual: JANUARY
617s # %h -> expected: Jan
617s # %h -> actual: Jan
617s # %^h -> expected: JAN
617s # %^h -> actual: JAN
617s # %#h -> expected: JAN
617s # %#h -> actual: JAN
617s # %Z -> expected: UTC
617s # %Z -> actual: UTC
617s # %^Z -> expected: UTC
617s # %^Z -> actual: UTC
617s # %#Z -> expected: utc
617s # %#Z -> actual: utc
617s # %H -> expected: 01
617s # %H -> actual: 01
617s # %_H -> expected: 1
617s # %_H -> actual: 1
617s # %-H -> expected: 1
617s # %-H -> actual: 1
617s # %0H -> expected: 01
617s # %0H -> actual: 01
617s # %H -> expected: 21
617s # %H -> actual: 21
617s # %_H -> expected: 21
617s # %_H -> actual: 21
617s # %-H -> expected: 21
617s # %-H -> actual: 21
617s # %0H -> expected: 21
617s # %0H -> actual: 21
617s # %I -> expected: 01
617s # %I -> actual: 01
617s # %_I -> expected: 1
617s # %_I -> actual: 1
617s # %-I -> expected: 1
617s # %-I -> actual: 1
617s # %0I -> expected: 01
617s # %0I -> actual: 01
617s # %I -> expected: 11
617s # %I -> actual: 11
617s # %_I -> expected: 11
617s # %_I -> actual: 11
617s # %-I -> expected: 11
617s # %-I -> actual: 11
617s # %0I -> expected: 11
617s # %0I -> actual: 11
617s # %k -> expected: 1
617s # %k -> actual: 1
617s # %_k -> expected: 1
617s # %_k -> actual: 1
617s # %-k -> expected: 1
617s # %-k -> actual: 1
617s # %0k -> expected: 01
617s # %0k -> actual: 01
617s # %l -> expected: 1
617s # %l -> actual: 1
617s # %_l -> expected: 1
617s # %_l -> actual: 1
617s # %-l -> expected: 1
617s # %-l -> actual: 1
617s # %0l -> expected: 01
617s # %0l -> actual: 01
617s # %l -> expected: 11
617s # %l -> actual: 11
617s # %_l -> expected: 11
617s # %_l -> actual: 11
617s # %-l -> expected: 11
617s # %-l -> actual: 11
617s # %0l -> expected: 11
617s # %0l -> actual: 11
617s # %p -> expected: AM
617s # %p -> actual: AM
617s # %^p -> expected: AM
617s # %^p -> actual: AM
617s # %#p -> expected: am
617s # %#p -> actual: am
617s # %P -> expected: am
617s # %P -> actual: am
617s # %^P -> expected: AM
617s # %^P -> actual: AM
617s # %#P -> expected: am
617s # %#P -> actual: am
617s # %OH -> expected: ۲۳
617s # %OH -> actual: ۲۳
617s # %OI -> expected: ۱۱
617s # %OI -> actual: ۱۱
617s # %OM -> expected: ۰۰
617s # %OM -> actual: ۰۰
617s # %Om -> expected: ۰۷
617s # %Om -> actual: ۰۷
617s # %0Om -> expected: ۰۷
617s # %0Om -> actual: ۰۷
617s # %-Om -> expected: ۷
617s # %-Om -> actual: ۷
617s # %_Om -> expected: ۷
617s # %_Om -> actual: ۷
617s # %c -> expected: thu 01 jan 2009 00:00:00 utc
617s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
617s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
617s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
617s # %C -> expected: 20
617s # %C -> actual: 20
617s # %EC -> expected: 20
617s # %EC -> actual: 20
617s # %x -> expected: 02/01/09
617s # %x -> actual: 02/01/09
617s # %Ex -> expected: 02/01/09
617s # %Ex -> actual: 02/01/09
617s # %X -> expected: 01:02:03
617s # %X -> actual: 01:02:03
617s # %EX -> expected: 01:02:03
617s # %EX -> actual: 01:02:03
617s # %y -> expected: 09
617s # %y -> actual: 09
617s # %Ey -> expected: 09
617s # %Ey -> actual: 09
617s # %Y -> expected: 2009
617s # %Y -> actual: 2009
617s # %EY -> expected: 2009
617s # %EY -> actual: 2009
617s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
617s # Bug Reference: http://bugzilla.gnome.org/749206
617s # %B -> expected: January
617s # %B -> actual: January
617s # %OB -> expected: February
617s # %OB -> actual: February
617s # %b -> expected: Mar
617s # %b -> actual: Mar
617s # %Ob -> expected: Apr
617s # %Ob -> actual: Apr
617s # %h -> expected: May
617s # %h -> actual: May
617s # %Oh -> expected: Jun
617s # %Oh -> actual: Jun
617s # %B -> expected: Juli
617s # %B -> actual: Juli
617s # %OB -> expected: August
617s # %OB -> actual: August
617s # %b -> expected: Sep
617s # %b -> actual: Sep
617s # %Ob -> expected: Okt
617s # %Ob -> actual: Okt
617s # %h -> expected: Nov
617s # %h -> actual: Nov
617s # %Oh -> expected: Dez
617s # %Oh -> actual: Dez
617s # %B -> expected: enero
617s # %B -> actual: enero
617s # %OB -> expected: febrero
617s # %OB -> actual: febrero
617s # %b -> expected: mar
617s # %b -> actual: mar
617s # %Ob -> expected: abr
617s # %Ob -> actual: abr
617s # %h -> expected: may
617s # %h -> actual: may
617s # %Oh -> expected: jun
617s # %Oh -> actual: jun
617s # %B -> expected: juillet
617s # %B -> actual: juillet
617s # %OB -> expected: août
617s # %OB -> actual: août
617s # %b -> expected: sept.
617s # %b -> actual: sept.
617s # %Ob -> expected: oct.
617s # %Ob -> actual: oct.
617s # %h -> expected: nov.
617s # %h -> actual: nov.
617s # %Oh -> expected: déc.
617s # %Oh -> actual: déc.
617s # %B -> expected: Ιανουαρίου
617s # %B -> actual: Ιανουαρίου
617s # %B -> expected: Φεβρουαρίου
617s # %B -> actual: Φεβρουαρίου
617s # %B -> expected: Μαρτίου
617s # %B -> actual: Μαρτίου
617s # %OB -> expected: Απρίλιος
617s # %OB -> actual: Απρίλιος
617s # %OB -> expected: Μάιος
617s # %OB -> actual: Μάιος
617s # %OB -> expected: Ιούνιος
617s # %OB -> actual: Ιούνιος
617s # %b -> expected: Ιουλ
617s # %b -> actual: Ιουλ
617s # %Ob -> expected: Αύγ
617s # %Ob -> actual: Αύγ
617s # %B -> expected: svibnja
617s # %B -> actual: svibnja
617s # %B -> expected: lipnja
617s # %B -> actual: lipnja
617s # %B -> expected: srpnja
617s # %B -> actual: srpnja
617s # %OB -> expected: Kolovoz
617s # %OB -> actual: kolovoz
617s # %OB -> expected: Rujan
617s # %OB -> actual: rujan
617s # %OB -> expected: Listopad
617s # %OB -> actual: listopad
617s # %b -> expected: Stu
617s # %b -> actual: stu
617s # %Ob -> expected: Pro
617s # %Ob -> actual: pro
617s # %B -> expected: sausio
617s # %B -> actual: sausio
617s # %B -> expected: vasario
617s # %B -> actual: vasario
617s # %B -> expected: kovo
617s # %B -> actual: kovo
617s # %OB -> expected: balandis
617s # %OB -> actual: balandis
617s # %OB -> expected: gegužė
617s # %OB -> actual: gegužė
617s # %OB -> expected: birželis
617s # %OB -> actual: birželis
617s # %b -> expected: liep.
617s # %b -> actual: liep.
617s # %Ob -> expected: rugp.
617s # %Ob -> actual: rugp.
617s # %B -> expected: maja
617s # %B -> actual: maja
617s # %B -> expected: czerwca
617s # %B -> actual: czerwca
617s # %B -> expected: lipca
617s # %B -> actual: lipca
617s # %OB -> expected: sierpień
617s # %OB -> actual: sierpień
617s # %OB -> expected: wrzesień
617s # %OB -> actual: wrzesień
617s # %OB -> expected: październik
617s # %OB -> actual: październik
617s # %b -> expected: lis
617s # %b -> actual: lis
617s # %Ob -> expected: gru
617s # %Ob -> actual: gru
617s # %B -> expected: января
617s # %B -> actual: января
617s # %B -> expected: февраля
617s # %B -> actual: февраля
617s # %B -> expected: марта
617s # %B -> actual: марта
617s # %OB -> expected: Апрель
617s # %OB -> actual: Апрель
617s # %OB -> expected: Май
617s # %OB -> actual: Май
617s # %OB -> expected: Июнь
617s # %OB -> actual: Июнь
617s # %b -> expected: июл
617s # %b -> actual: июл
617s # %Ob -> expected: авг
617s # %Ob -> actual: авг
617s # %b -> expected: мая
617s # %b -> actual: мая
617s # %Ob -> expected: май
617s # %Ob -> actual: май
617s ok 38 /GDateTime/month_names
617s ok 39 /GDateTime/to_local
617s ok 40 /GDateTime/to_unix
617s ok 41 /GDateTime/to_timeval
617s ok 42 /GDateTime/to_utc
617s ok 43 /GDateTime/now_utc
617s ok 44 /GDateTime/dst
617s # Bug Reference: http://bugzilla.gnome.org/642935
617s ok 45 /GDateTime/test_z
618s ok 46 /GDateTime/test-all-dates
618s # slow test /GDateTime/test-all-dates executed in 0.88 secs
618s ok 47 /GDateTime/unix_usec
618s # Start of new_from_unix tests
618s # Bug Reference: http://bugzilla.gnome.org/782089
618s ok 48 /GDateTime/new_from_unix/overflow
618s # End of new_from_unix tests
618s # Start of new_from_timeval tests
618s # Bug Reference: http://bugzilla.gnome.org/782089
618s # Maximum supported GTimeVal.tv_sec = 253402300799
618s ok 49 /GDateTime/new_from_timeval/overflow
618s # End of new_from_timeval tests
618s # Start of new_from_iso8601 tests
618s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
618s # Vector 0: 1990-11-01T10:21:17Z
618s # Vector 1: 19901101T102117Z
618s # Vector 2: 1970-01-01T00:00:17.12Z
618s # Vector 3: 1970-01-01T00:00:17.1234Z
618s # Vector 4: 1970-01-01T00:00:17.123456Z
618s # Vector 5: 1980-02-22T12:36:00+02:00
618s # Vector 6: 1990-12-31T15:59:60-08:00
618s # Vector 7:
618s # Vector 8: x
618s # Vector 9: 123x
618s # Vector 10: 2001-10+x
618s # Vector 11: 1980-02-22T
618s # Vector 12: 2001-10-08Tx
618s # Vector 13: 2001-10-08T10:11x
618s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
618s # Vector 15: 1980-02-22T10:36:00Zulu
618s # Vector 16: 2T0+819855292164632335
618s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
618s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
618s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
618s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
618s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
618s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
618s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
618s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
618s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
618s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
618s # Vector 27: 20180803T140805.446178377+0100
618s # Vector 28: 21474836480803T140805.446178377+0100
618s # Vector 29: 20181303T140805.446178377+0100
618s # Vector 30: 20180003T140805.446178377+0100
618s # Vector 31: 20180800T140805.446178377+0100
618s # Vector 32: 20180832T140805.446178377+0100
618s # Vector 33: 20180803T240805.446178377+0100
618s # Vector 34: 20180803T146005.446178377+0100
618s # Vector 35: 20180803T140863.446178377+0100
618s # Vector 36: 20180803T140805.446178377+10000
618s # Vector 37: -0005-01-01T00:00:00Z
618s # Vector 38: 2018-08-06
618s # Vector 39: 20180803T140805,446178377+0100
618s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
618s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
618s # Vector 42: 1990-11-01T10:21:17
618s # Vector 43: 1719W462 407777-07
618s # Vector 44: 4011090 260528Z
618s # Vector 45: 0000W011 228214-22
618s ok 50 /GDateTime/new_from_iso8601/2
618s # End of new_from_iso8601 tests
618s # Start of format_mixed tests
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
618s # %b -> expected: mar
618s # %b -> actual: Mar
618s # %B -> expected: march
618s # %B -> actual: March
618s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
618s # %b -> expected: mar
618s # %b -> actual: Mar
618s # %B -> expected: march
618s # %B -> actual: March
618s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
618s # %b -> expected: Mär
618s # %b -> actual: Mär
618s # %B -> expected: März
618s # %B -> actual: März
618s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
618s # %b -> expected: Mär
618s # %b -> actual: Mär
618s # %B -> expected: März
618s # %B -> actual: März
618s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
618s # End of format_mixed tests
618s # Start of strftime tests
618s # %r -> expected: (null)
618s # %r -> actual: (null)
618s ok 55 /GDateTime/strftime/error_handling
618s # End of strftime tests
618s # Start of eras tests
618s # %Ec -> expected: 令和05年06月01日 00時00分00秒
618s # %Ec -> actual: 令和05年06月01日 00時00分00秒
618s # %EC -> expected: 令和
618s # %EC -> actual: 令和
618s # %Ex -> expected: 令和05年06月01日
618s # %Ex -> actual: 令和05年06月01日
618s # %EX -> expected: 00時00分00秒
618s # %EX -> actual: 00時00分00秒
618s # %Ey -> expected: 05
618s # %Ey -> actual: 05
618s # %EY -> expected: 令和05年
618s # %EY -> actual: 令和05年
618s # %Ec -> expected: 平成31年04月30日 00時00分00秒
618s # %Ec -> actual: 平成31年04月30日 00時00分00秒
618s # %EC -> expected: 平成
618s # %EC -> actual: 平成
618s # %Ex -> expected: 平成31年04月30日
618s # %Ex -> actual: 平成31年04月30日
618s # %EX -> expected: 00時00分00秒
618s # %EX -> actual: 00時00分00秒
618s # %Ey -> expected: 31
618s # %Ey -> actual: 31
618s # %EY -> expected: 平成31年
618s # %EY -> actual: 平成31年
618s # %Ec -> expected: 昭和元年12月25日 00時00分00秒
618s # %Ec -> actual: 昭和元年12月25日 00時00分00秒
618s # %EC -> expected: 昭和
618s # %EC -> actual: 昭和
618s # %Ex -> expected: 昭和元年12月25日
618s # %Ex -> actual: 昭和元年12月25日
618s # %EX -> expected: 00時00分00秒
618s # %EX -> actual: 00時00分00秒
618s # %Ey -> expected: 01
618s # %Ey -> actual: 01
618s # %EY -> expected: 昭和元年
618s # %EY -> actual: 昭和元年
618s ok 56 /GDateTime/eras/japan
618s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests
618s # Vector 0:
618s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
618s # 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年
618s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
618s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
618s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
618s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
618s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
618s # Vector 8: +
618s # Vector 9: +:
618s # Vector 10: +::
618s # Vector 11: +:200
618s # Vector 12: +:2nonsense
618s # Vector 13: +:2nonsense:
618s # Vector 14: +:2:
618s # Vector 15: +:2::
618s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
618s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
618s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
618s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
618s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
618s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
618s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
618s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
618s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
618s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
618s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
618s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
618s # Vector 28: +:2:2020/01/01
618s # Vector 29: +:2:2020/01/01:
618s # Vector 30: +:2:2020/01/01::
618s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
618s # Vector 32: +:2:2020/01/01:+*
618s # Vector 33: +:2:2020/01/01:+*:
618s # Vector 34: +:2:2020/01/01:+*::
618s # Vector 35: +:2:2020/01/01:+*:令和
618s # Vector 36: +:2:2020/01/01:+*:令和:
618s # Vector 37: +:2:2020/01/01:+*:令和:;
618s ok 58 /GDateTime/eras/parsing
618s # End of eras tests
618s # End of GDateTime tests
618s # Start of GTimeZone tests
618s ok - glib/gdatetime.test
618s # Running test: glib/atomic-c-17.test
618s ok 59 /GTimeZone/find-interval
618s ok 60 /GTimeZone/adjust-time
618s ok 61 /GTimeZone/no-header
618s ok 62 /GTimeZone/no-header-identifier
618s ok 63 /GTimeZone/posix-parse
618s # Bug Reference: http://bugzilla.gnome.org/697715
618s ok 64 /GTimeZone/floating-point
618s # System time zone identifier: Etc/UTC
618s ok 65 /GTimeZone/identifier
618s # Vector 0: -158400
618s # Vector 1: -10000
618s # Vector 2: -3600
618s # Vector 3: -61
618s # Vector 4: -60
618s # Vector 5: -59
618s # Vector 6: 0
618s # Vector 7: 59
618s # Vector 8: 60
618s # Vector 9: 61
618s # Vector 10: 3600
618s # Vector 11: 10000
618s # Vector 12: 158400
618s ok 66 /GTimeZone/new-offset
618s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
618s ok 67 /GTimeZone/parse-rfc8536
618s # /GTimeZone/caching summary: GTimeZone instances are cached
618s ok 68 /GTimeZone/caching
618s # End of GTimeZone tests
618s TAP version 14
618s # random seed: R02S3bc7436dc157cec7a0e222f3e9596c9b
618s 1..2
618s # Start of atomic tests
618s ok 1 /atomic/types
618s ok 2 /atomic/threaded
618s # End of atomic tests
618s ok - glib/atomic-c-17.test
618s # Running test: glib/vfs.test
618s TAP version 14
618s # random seed: R02Sfb79dbd8efdd963d65433da7eec9e3e9
618s 1..3
618s # Start of gvfs tests
618s ok 1 /gvfs/local
618s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
618s ok 2 /gvfs/register-scheme
618s # Start of resource tests
618s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
618s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
618s ok 3 /gvfs/resource/malformed-escaping
618s # End of resource tests
618s # End of gvfs tests
618s ok - glib/vfs.test
618s # Running test: glib/inet-address.test
618s TAP version 14
618s # random seed: R02S657fe2ae984ea51be267e171b75433ce
618s 1..11
618s # Start of inet-address tests
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::1::2
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 2001:1:2:3:4:5:6:7]
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [2001:1:2:3:4:5:6:7]:80
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 0:1:2:3:4:5:6:7:8:9
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string ::FFFFFFF
618s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 204.152.189.116:80
618s ok 1 /inet-address/parse
618s ok 2 /inet-address/any
618s ok 3 /inet-address/loopback
618s ok 4 /inet-address/bytes
618s ok 5 /inet-address/property
618s # End of inet-address tests
618s # Start of socket-address tests
618s ok 6 /socket-address/basic
618s ok 7 /socket-address/to-string
618s # End of socket-address tests
618s # Start of address-mask tests
618s ok 8 /address-mask/parse
618s ok 9 /address-mask/property
618s ok 10 /address-mask/equal
618s ok 11 /address-mask/match
618s # End of address-mask tests
618s ok - glib/inet-address.test
618s # Running test: glib/win32-appinfo.test
618s TAP version 14
618s # random seed: R02S032035f8dbe9d4455ccdd9b1d31742df
618s 1..5
618s # Start of appinfo tests
618s ok 1 /appinfo/utf16-strfuncs
618s ok 2 /appinfo/win32-extract-executable
618s ok 3 /appinfo/win32-rundll32-fixup
618s ok 4 /appinfo/win32-parse-filename
618s ok - glib/win32-appinfo.test
618s # Running test: glib/macros-c-11.test
618s ok - glib/macros-c-11.test
618s # Running test: glib/cxx-17.test
618s ok 5 /appinfo/win32-utf16-conversion-fail
618s # Start of subprocess tests
618s # End of subprocess tests
618s # End of appinfo tests
618s TAP version 14
618s # random seed: R02S304cdca26c07dbc1a8482187861bd703
618s 1..4
618s # Start of C tests
618s ok 1 /C/standard-11
618s # End of C tests
618s # Start of alignof tests
618s ok 2 /alignof/fallback
618s # End of alignof tests
618s # Start of assert tests
618s ok 3 /assert/static
618s # End of assert tests
618s # Start of struct tests
618s ok 4 /struct/sizeof_member
618s # End of struct tests
618s TAP version 14
618s # random seed: R02S1a966c7a62b98adda6879a340f8431ad
618s 1..2
618s # Start of gtask tests
618s # 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.
618s ok 1 /gtask/name
618s # Start of name tests
618s # 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.
618s ok 2 /gtask/name/macro-wrapper
618s # End of name tests
618s # End of gtask tests
618s ok - glib/cxx-17.test
618s # Running test: glib/network-address.test
618s TAP version 14
618s # random seed: R02S8565816b46a6fbd3af51e0df7858af81
618s 1..72
618s # Start of network-address tests
618s ok 1 /network-address/basic
618s ok 2 /network-address/scope-id
618s ok 3 /network-address/uri-scope-id
618s ok 4 /network-address/to-string
618s # Start of parse-host tests
618s ok 5 /network-address/parse-host/0
618s ok 6 /network-address/parse-host/1
618s ok 7 /network-address/parse-host/2
618s ok 8 /network-address/parse-host/3
618s ok 9 /network-address/parse-host/4
618s ok 10 /network-address/parse-host/5
618s ok 11 /network-address/parse-host/6
618s ok 12 /network-address/parse-host/7
618s ok 13 /network-address/parse-host/8
618s ok 14 /network-address/parse-host/9
618s ok 15 /network-address/parse-host/10
618s ok 16 /network-address/parse-host/11
618s ok 17 /network-address/parse-host/12
618s ok 18 /network-address/parse-host/13
618s # End of parse-host tests
618s # Start of parse-uri tests
618s ok 19 /network-address/parse-uri/0
618s ok 20 /network-address/parse-uri/1
618s ok 21 /network-address/parse-uri/2
618s ok 22 /network-address/parse-uri/3
618s ok 23 /network-address/parse-uri/4
618s ok 24 /network-address/parse-uri/5
618s ok 25 /network-address/parse-uri/6
618s ok 26 /network-address/parse-uri/7
618s ok 27 /network-address/parse-uri/8
618s ok 28 /network-address/parse-uri/9
618s # End of parse-uri tests
618s # Start of resolve-address tests
618s # Input: 192.168.1.2
618s ok 29 /network-address/resolve-address/0
618s # Input: fe80::42
618s ok 30 /network-address/resolve-address/1
618s # Input: 192.168.1.2:80
618s ok 31 /network-address/resolve-address/2
618s # Input: [fe80::42]
618s ok 32 /network-address/resolve-address/3
618s # Input: [fe80::42]:80
618s ok 33 /network-address/resolve-address/4
618s # Input: 192.168.258
618s ok 34 /network-address/resolve-address/5
618s # Input: 192.11010306
618s ok 35 /network-address/resolve-address/6
618s # Input: 3232235778
618s ok 36 /network-address/resolve-address/7
618s # Input: 0300.0250.0001.0001
618s ok 37 /network-address/resolve-address/8
618s # Input: 0xC0.0xA8.0x01.0x02
618s ok 38 /network-address/resolve-address/9
618s # Input: 0xc0.0xa8.0x01.0x02
618s ok 39 /network-address/resolve-address/10
618s # Input: 0xc0a80102
618s ok 40 /network-address/resolve-address/11
618s # End of resolve-address tests
618s # Start of loopback tests
618s ok 41 /network-address/loopback/basic
618s ok 42 /network-address/loopback/sync
618s ok 43 /network-address/loopback/async
618s # End of loopback tests
618s # Start of localhost tests
618s ok 44 /network-address/localhost/async
618s ok 45 /network-address/localhost/sync
618s # End of localhost tests
618s # Start of happy-eyeballs tests
618s ok 46 /network-address/happy-eyeballs/basic
618s ok 47 /network-address/happy-eyeballs/parallel
618s ok 48 /network-address/happy-eyeballs/slow-ipv4
618s ok 49 /network-address/happy-eyeballs/slow-ipv6
618s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
619s # Executing: glib/network-address.test
619s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
619s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs
619s ok - glib/network-address.test
619s # Running test: glib/debugcontroller.test
619s ok - glib/debugcontroller.test
619s # Running test: glib/struct-info.test
619s ok - glib/struct-info.test
619s # Running test: glib/contexts.test
619s ok - glib/contexts.test
619s # Running test: glib/flags.test
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
619s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
619s # /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.
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s ok 57 /network-address/happy-eyeballs/both-error
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s ok 58 /network-address/happy-eyeballs/both-error-delays-1
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
619s ok 59 /network-address/happy-eyeballs/both-error-delays-2
619s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
619s ok 60 /network-address/happy-eyeballs/both-error-delays-3
619s # End of happy-eyeballs tests
619s # End of network-address tests
619s # Start of gresolver tests
619s # Start of resolve-address tests
619s # Input: 192.168.1.2
619s ok 61 /gresolver/resolve-address/0
619s # Input: fe80::42
619s ok 62 /gresolver/resolve-address/1
619s # Input: 192.168.1.2:80
619s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 192.168.1.2:80
619s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
619s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’
619s # Error: Error resolving “192.168.1.2:80”: Name or service not known
619s ok 63 /gresolver/resolve-address/2
619s # Input: [fe80::42]
619s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]
619s # Error: Error resolving “[fe80::42]”: Name or service not known
619s ok 64 /gresolver/resolve-address/3
619s # Input: [fe80::42]:80
619s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string [fe80::42]:80
619s # Error: Error resolving “[fe80::42]:80”: Name or service not known
619s ok 65 /gresolver/resolve-address/4
619s # Input: 192.168.258
619s # Error: Error resolving “192.168.258”: Name or service not known
619s ok 66 /gresolver/resolve-address/5
619s # Input: 192.11010306
619s # Error: Error resolving “192.11010306”: Name or service not known
619s ok 67 /gresolver/resolve-address/6
619s # Input: 3232235778
619s # Error: Error resolving “3232235778”: Name or service not known
619s ok 68 /gresolver/resolve-address/7
619s # Input: 0300.0250.0001.0001
619s # Error: Error resolving “0300.0250.0001.0001”: Name or service not known
619s ok 69 /gresolver/resolve-address/8
619s # Input: 0xC0.0xA8.0x01.0x02
619s # Error: Error resolving “0xC0.0xA8.0x01.0x02”: Name or service not known
619s ok 70 /gresolver/resolve-address/9
619s # Input: 0xc0.0xa8.0x01.0x02
619s # Error: Error resolving “0xc0.0xa8.0x01.0x02”: Name or service not known
619s ok 71 /gresolver/resolve-address/10
619s # Input: 0xc0a80102
619s # Error: Error resolving “0xc0a80102”: Name or service not known
619s ok 72 /gresolver/resolve-address/11
619s # End of resolve-address tests
619s # End of gresolver tests
619s TAP version 14
619s # random seed: R02Scadf290fb75d555d996b118b7a0534e6
619s 1..3
619s # Start of debug-controller tests
619s # Start of dbus tests
619s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
619s # GLib-GIO-DEBUG: Debug output enabled
619s # GLib-GIO-DEBUG: Debug output disabled
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s ok 1 /debug-controller/dbus/basic
619s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
619s ok 2 /debug-controller/dbus/duplicate
619s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
619s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
619s # End of dbus tests
619s # End of debug-controller tests
619s TAP version 14
619s # random seed: R02S095b0b412295107e5069861ae6995c23
619s 1..4
619s # Start of struct-info tests
619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/home
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/cache
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/system-config2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/config
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/system-data2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/data
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/state
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LO7EK3/struct-info/field-iterators/.dirs/runtime
619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
619s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
619s ok 1 /struct-info/field-iterators
619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/home
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/cache
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/system-config2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/config
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/system-data2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/data
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/state
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LO7EK3/struct-info/sizeof-gvalue/.dirs/runtime
619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
619s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
619s ok 2 /struct-info/sizeof-gvalue
619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/home
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/config
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/data
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/state
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LO7EK3/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
619s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
619s ok 3 /struct-info/is-pointer-for-struct-method-arg
619s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/home
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/cache
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/system-config2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/config
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/system-data2
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/data
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/state
619s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_LO7EK3/struct-info/boxed/.dirs/runtime
619s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
619s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
619s ok 4 /struct-info/boxed
619s # End of struct-info tests
619s TAP version 14
619s # random seed: R02Sfe910de15c3cb72d54b4eb5f8ab6370e
619s 1..5
619s # Start of gio tests
619s # Start of contexts tests
619s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
619s ok 1 /gio/contexts/thread-independence
619s ok 2 /gio/contexts/context-independence
619s # Start of context-specific tests
619s ok 3 /gio/contexts/context-specific/identity
619s ok 4 /gio/contexts/context-specific/emit
619s ok 5 /gio/contexts/context-specific/emit-and-unref
619s # End of context-specific tests
619s # End of contexts tests
619s # End of gio tests
619s TAP version 14
619s # random seed: R02S394fc1d5c1760cc181f776889ec44daa
619s 1..1
619s # Start of gobject tests
619s # Start of flags tests
619s ok 1 /gobject/flags/validate
619s # End of flags tests
619s # End of gobject tests
619s ok - glib/flags.test
619s # Running test: glib/testing.test
619s TAP version 14
619s # random seed: R02S7611537f170f91bea68b287ed7e7d3f7
619s 1..1
619s # Start of assert tests
619s ok 1 /assert/finalize_object
619s # Start of finalize_object tests
619s # Start of subprocess tests
619s # End of subprocess tests
619s # End of finalize_object tests
619s # End of assert tests
619s ok - glib/testing.test
620s # Running test: glib/search-utils.test
620s TAP version 14
620s # random seed: R02Sf3c38a02d6e1d34913f242c5b82ca484
620s # GLib-DEBUG: Current user locale: C.UTF-8
620s 1..6
620s # Start of search tests
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'he' - 'Hello World' should match: OK
620s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK
620s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK
620s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK
620s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK
620s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK
620s ok 1 /search/basic
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
620s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK
620s # GLib-DEBUG: 'ele' - 'élève' should match: OK
620s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK
620s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK
620s ok 2 /search/composed
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
620s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
620s ok 3 /search/decomposed
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK
620s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK
620s ok 4 /search/turkish
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
620s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
620s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
620s ok 5 /search/c_locale_unicode
620s # GLib-DEBUG: Started
620s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK
620s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK
620s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK
620s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK
620s ok 6 /search/multi_words
620s # End of search tests
620s ok - glib/search-utils.test
620s # Running test: glib/sequence.test
620s TAP version 14
620s # random seed: R02Sd6fd190dfcd62afcb941079c92b15cb4
620s 1..16
620s # Start of sequence tests
620s ok 1 /sequence/out-of-range-jump
620s ok 2 /sequence/iter-move
620s ok 3 /sequence/insert-sorted-non-pointer
620s ok 4 /sequence/stable-sort
620s ok 5 /sequence/is_empty
620s # Start of random tests
620s ok 6 /sequence/random/seed:825541564
620s # slow test /sequence/random/seed:825541564 executed in 0.55 secs
621s ok 7 /sequence/random/seed:801678400
621s # slow test /sequence/random/seed:801678400 executed in 0.52 secs
621s ok 8 /sequence/random/seed:1477639090
621s # slow test /sequence/random/seed:1477639090 executed in 0.54 secs
622s ok 9 /sequence/random/seed:3369132895
622s ok 10 /sequence/random/seed:1192944867
622s # slow test /sequence/random/seed:1192944867 executed in 0.52 secs
623s ok 11 /sequence/random/seed:770458294
623s # slow test /sequence/random/seed:770458294 executed in 0.55 secs
624s ok 12 /sequence/random/seed:1099575817
624s # slow test /sequence/random/seed:1099575817 executed in 0.52 secs
624s # Executing: glib/sequence.test
624s ok 13 /sequence/random/seed:590523467
624s # slow test /sequence/random/seed:590523467 executed in 0.54 secs
624s ok 14 /sequence/random/seed:3583571454
624s # slow test /sequence/random/seed:3583571454 executed in 0.54 secs
625s ok 15 /sequence/random/seed:579241222
625s # slow test /sequence/random/seed:579241222 executed in 0.54 secs
626s ok 16 /sequence/random/seed:1808931755
626s # slow test /sequence/random/seed:1808931755 executed in 0.56 secs
626s # End of random tests
626s # End of sequence tests
626s ok - glib/sequence.test
626s # Running test: glib/unicode-encoding.test
626s TAP version 14
626s # random seed: R02S3d69aed80a5b9bf37ed105bf6cf35420
626s 1..1
626s # Start of unicode tests
626s ok 1 /unicode/encoding
626s # End of unicode tests
626s ok - glib/unicode-encoding.test
626s # Running test: glib/portal-support-env-var.test
626s TAP version 14
626s # random seed: R02S8d07f756623c5560ffeb97654122651b
626s 1..1
626s # Start of portal-support tests
626s ok 1 /portal-support/env-var
626s # End of portal-support tests
626s TAP version 14
626s # random seed: R02S7c68a970ffa7c51c3b39c6c97573f770
626s 1..3
626s # Start of converter tests
626s ok 1 /converter/bytes
626s ok 2 /converter/extra-bytes-at-end
626s ok 3 /converter/gzip-os-property
626s # End of converter tests
626s TAP version 14
626s # random seed: R02S1995284be1143572e6576e011c65c5cd
626s 1..3
626s # Start of static-proxy tests
626s ok 1 /static-proxy/uri
626s ok 2 /static-proxy/socks
626s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string *.eee.xx:8000
626s # GLib-GIO-DEBUG: getaddrinfo failed to resolve host string 10.0.0.1:8000
626s ok 3 /static-proxy/ignore
626s # End of static-proxy tests
626s Running test "liststore-is-a"
626s ok - glib/portal-support-env-var.test
626s # Running test: glib/converter.test
626s ok - glib/converter.test
626s # Running test: glib/simple-proxy.test
626s ok - glib/simple-proxy.test
626s # Running test: glib/performance-threaded.test
627s 17192 runs, min/avg/max = 0.057/0.058/0.197 ms
627s Running test "liststore-interface-peek"
628s 29610 runs, min/avg/max = 0.033/0.034/0.175 ms
628s Running test "liststore-interface-peek-same"
629s 30155 runs, min/avg/max = 0.032/0.033/0.191 ms
629s ok - glib/performance-threaded.test
629s # Running test: glib/registered-type-info.test
629s TAP version 14
629s # random seed: R02S6a516d9e0331f2b129a29e094ca45a94
629s 1..1
629s # Start of registered-type-info tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/system-data2
629s ok - glib/registered-type-info.test
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_1MHNK3/registered-type-info/boxed/.dirs/runtime
629s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
629s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
629s # Expecting CClosure to not be boxed
629s # Expecting TypeCValue to not be boxed
629s # Expecting InitiallyUnownedClass to not be boxed
629s # Expecting BookmarkFile to be boxed
629s # Expecting Closure to be boxed
629s # Expecting Object to not be boxed
629s ok 1 /registered-type-info/boxed
629s # End of registered-type-info tests
629s TAP version 14
629s # random seed: R02S644f6d7406cff1bb9ffb985c06d213af
629s 1..21
629s # Start of gresolver tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/invalid-header/.dirs/runtime
629s ok 1 /gresolver/invalid-header
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/record-ownership/.dirs/runtime
629s ok 2 /gresolver/record-ownership
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/unknown-record-type/.dirs/runtime
629s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
629s ok 3 /gresolver/unknown-record-type
629s # Start of mx tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/valid/.dirs/runtime
629s ok 4 /gresolver/mx/valid
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/.dirs/runtime
629s ok 5 /gresolver/mx/invalid
629s # Start of invalid tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short/.dirs/runtime
629s ok 6 /gresolver/mx/invalid/too-short
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/mx/invalid/too-short2/.dirs/runtime
629s ok 7 /gresolver/mx/invalid/too-short2
629s # End of invalid tests
629s # End of mx tests
629s # Start of ns tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/valid/.dirs/runtime
629s ok 8 /gresolver/ns/valid
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/ns/invalid/.dirs/runtime
629s ok 9 /gresolver/ns/invalid
629s # End of ns tests
629s # Start of soa tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/valid/.dirs/runtime
629s ok 10 /gresolver/soa/valid
629s # Start of invalid tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/mname/.dirs/runtime
629s ok 11 /gresolver/soa/invalid/mname
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/rname/.dirs/runtime
629s ok 12 /gresolver/soa/invalid/rname
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/soa/invalid/too-short/.dirs/runtime
629s ok 13 /gresolver/soa/invalid/too-short
629s # End of invalid tests
629s # End of soa tests
629s # Start of srv tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/valid/.dirs/runtime
629s ok 14 /gresolver/srv/valid
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/.dirs/runtime
629s ok 15 /gresolver/srv/invalid
629s # Start of invalid tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short/.dirs/runtime
629s ok 16 /gresolver/srv/invalid/too-short
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/srv/invalid/too-short2/.dirs/runtime
629s ok 17 /gresolver/srv/invalid/too-short2
629s # End of invalid tests
629s # End of srv tests
629s # Start of txt tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/.dirs/runtime
629s ok 18 /gresolver/txt/valid
629s # Start of valid tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/valid/multiple-strings/.dirs/runtime
629s ok 19 /gresolver/txt/valid/multiple-strings
629s # End of valid tests
629s # Start of invalid tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/data
629s # Running test: glib/resolver-parsing.test
629s ok - glib/resolver-parsing.test
629s # Running test: glib/socket-service.test
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/empty/.dirs/runtime
629s ok 20 /gresolver/txt/invalid/empty
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_LGGNK3/gresolver/txt/invalid/overflow/.dirs/runtime
629s ok 21 /gresolver/txt/invalid/overflow
629s # End of invalid tests
629s # End of txt tests
629s # End of gresolver tests
629s TAP version 14
629s # random seed: R02Sd8fa5dd603d0f59691e266e8139b98be
629s ok - glib/socket-service.test
629s # Running test: glib/properties-refcount2.test
629s 1..4
629s # Start of socket-service tests
629s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
629s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b9ac39c210 and GSocketClientAsyncConnectData 0xc1b9ac396f10
629s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
629s ok 1 /socket-service/start-stop
629s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b9ac3a02e0 and GSocketClientAsyncConnectData 0xc1b9ac39ff40
629s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
629s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
629s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b9ac3a0260 for GSocketClientAsyncConnectData 0xc1b9ac396f10
629s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
629s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
629s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
629s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
629s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
629s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b9ac3a0260 for GSocketClientAsyncConnectData 0xc1b9ac39ff40
629s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
629s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
629s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
629s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
629s ok 2 /socket-service/read_write_async
629s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b9ac3a02e0 and GSocketClientAsyncConnectData 0xc1b9ac3a3990
629s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
629s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
629s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b9ac3a2e10 for GSocketClientAsyncConnectData 0xc1b9ac3a3990
629s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
629s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
629s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
629s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
629s ok 3 /socket-service/read_writev_async
629s # Start of threaded tests
629s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
629s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1b9ac394a80 and GSocketClientAsyncConnectData 0xc1b9ac39ff40
629s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
629s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
629s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1b9ac3a3b50 for GSocketClientAsyncConnectData 0xc1b9ac39ff40
629s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
629s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
629s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
629s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
629s ok 4 /socket-service/threaded/712570
629s # End of threaded tests
629s # End of socket-service tests
629s TAP version 14
629s # random seed: R02S59ea1713a18a84c6d63546df35d0bb70
629s 1..1
629s # Start of gobject tests
629s # Start of refcount tests
629s # init 0xafd97d303eb0
629s #
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # Executing: glib/properties-refcount2.test
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # .
629s # dispose 0xafd97d303eb0!
629s #
629s ok 1 /gobject/refcount/properties-2
629s # slow test /gobject/refcount/properties-2 executed in 0.86 secs
629s # End of refcount tests
629s # End of gobject tests
629s ok - glib/properties-refcount2.test
629s # Running test: glib/memory-settings-backend.test
629s ok - glib/memory-settings-backend.test
629s TAP version 14
629s # random seed: R02S2f23b24f22c25e00806944501aa5a91a
629s 1..1
629s # Start of memory-settings-backend tests
629s ok 1 /memory-settings-backend/extension-point-registered
629s # End of memory-settings-backend tests
629s # Running test: glib/thumbnail-verification.test
629s TAP version 14
629s # random seed: R02S6e5a42d2551c5aedcd80b17c20910a4f
629s 1..1
629s # Start of png-thumbs tests
629s ok 1 /png-thumbs/validity
629s # End of png-thumbs tests
629s ok - glib/thumbnail-verification.test
629s # Running test: glib/signals.test
629s TAP version 14
629s # random seed: R02See57cc498fb207af768355101c62f754
629s 1..31
629s # Start of gobject tests
629s # Start of signals tests
629s ok 1 /gobject/signals/all-types
629s ok 2 /gobject/signals/variant
629s ok 3 /gobject/signals/destroy-target-object
629s ok 4 /gobject/signals/generic-marshaller-1
629s ok 5 /gobject/signals/generic-marshaller-2
629s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
629s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
629s ok 8 /gobject/signals/generic-marshaller-int-return
629s ok 9 /gobject/signals/generic-marshaller-uint-return
629s ok 10 /gobject/signals/generic-marshaller-interface-return
629s ok 11 /gobject/signals/custom-marshaller
629s ok 12 /gobject/signals/connect
629s ok 13 /gobject/signals/emission-hook
629s ok 14 /gobject/signals/emitv
629s ok 15 /gobject/signals/accumulator
629s # Signal: accumulator-class-first
629s # Signal: accumulator-class-last
629s # Signal: accumulator-class-cleanup
629s # Signal: accumulator-class-first-last
629s # Signal: accumulator-class-first-last-cleanup
629s # Signal: accumulator-class-last-cleanup
629s ok 16 /gobject/signals/accumulator-class
629s ok 17 /gobject/signals/introspection
629s ok 18 /gobject/signals/block-handler
629s ok 19 /gobject/signals/stop-emission
629s ok 20 /gobject/signals/invocation-hint
629s ok 21 /gobject/signals/test-disconnection-wrong-object
629s ok 22 /gobject/signals/clear-signal-handler
629s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
629s ok 23 /gobject/signals/lookup
629s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
629s ok 24 /gobject/signals/parse-name
629s ok 25 /gobject/signals/is-valid-name
629s ok 26 /gobject/signals/weak-ref-disconnect
629s # Start of lookup tests
629s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
629s ok 27 /gobject/signals/lookup/invalid
629s # End of lookup tests
629s # Start of parse-name tests
629s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
629s # Parser input:
629s # Parser input: 7zip
629s # Parser input: invalid:signal
629s # Parser input: simple-detailed::
629s # Parser input: simple-detailed:
629s # Parser input: :
629s # Parser input: ::
629s # Parser input: :valid-detail
629s # Parser input: ::valid-detail
629s ok 28 /gobject/signals/parse-name/invalid
629s # End of parse-name tests
629s # Start of invalid-name tests
629s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
629s ok 29 /gobject/signals/invalid-name/colon
629s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
629s ok 30 /gobject/signals/invalid-name/first-char
629s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
629s ok 31 /gobject/signals/invalid-name/empty
629s # End of invalid-name tests
629s # End of signals tests
629s # End of gobject tests
629s ok - glib/signals.test
629s # Running test: glib/io-channel.test
629s TAP version 14
629s # random seed: R02Sa1b84004998f82661c12a6127ec035cb
629s 1..2
629s # Start of io-channel tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_M8IFK3/io-channel/read-write/.dirs/runtime
629s # Line one
629s #
629s # Line two
629s #
629s # Line three
629s #
629s # /* Hello */
629s #
629s # \x1234\x567890\x6666
629s #
629s # read 62 bytes, wrote 62 bytes
629s ok 1 /io-channel/read-write
629s # Start of read-line tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_M8IFK3/io-channel/read-line/embedded-nuls/.dirs/runtime
629s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
629s ok 2 /io-channel/read-line/embedded-nuls
629s # End of read-line tests
629s # End of io-channel tests
629s ok - glib/io-channel.test
629s # Running test: glib/portal-support-flatpak-none.test
629s TAP version 14
629s # random seed: R02S217e2bffdf26905e3909170e51ec53c5
629s 1..1
629s # Start of portal-support tests
629s # Start of flatpak tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/runtime
629s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_JTRGK3/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
629s ok 1 /portal-support/flatpak/none
629s # End of flatpak tests
629s # End of portal-support tests
629s ok - glib/portal-support-flatpak-none.test
629s # Running test: glib/utils-c-11.test
629s TAP version 14
629s # random seed: R02S7151281f7fda92fff48bff6872beb8d2
629s 1..41
629s # Start of utils tests
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/language-names/.dirs/runtime
629s ok 1 /utils/language-names
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/locale-variants/.dirs/runtime
629s # Testing locale ‘en’
629s # Testing locale ‘sr@latin’
629s # Testing locale ‘fr_BE’
629s # Testing locale ‘sr_SR@latin’
629s # Testing locale ‘sr_SR@latin.UTF-8’
629s # Testing locale ‘sr@latin_invalid’
629s # Testing locale ‘sr.UTF-8@latin’
629s # Testing locale ‘sr.UTF-8_latin’
629s # Testing locale ‘sr.UTF-8@latin_invalid’
629s ok 2 /utils/locale-variants
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/version/.dirs/runtime
629s ok 3 /utils/version
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/appname/.dirs/runtime
629s ok 4 /utils/appname
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/prgname-thread-safety/.dirs/runtime
629s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
629s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
629s ok 5 /utils/prgname-thread-safety
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/tmpdir/.dirs/runtime
629s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
629s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
629s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/tmpdir: No such file or directory
629s ok 6 /utils/tmpdir
629s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/home
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/cache
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/system-config2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/config
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/system-data2
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/data
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/state
629s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/basic_bits/.dirs/runtime
630s ok 7 /utils/basic_bits
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/bits/.dirs/runtime
630s ok 8 /utils/bits
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/swap/.dirs/runtime
630s ok 9 /utils/swap
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/find-program/.dirs/runtime
630s ok 10 /utils/find-program
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/find-program-for-path/.dirs/runtime
630s ok 11 /utils/find-program-for-path
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/debug/.dirs/runtime
630s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/debug: No such file or directory
630s ok 12 /utils/debug
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/codeset/.dirs/runtime
630s ok 13 /utils/codeset
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/codeset2/.dirs/runtime
630s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/codeset2: No such file or directory
630s ok 14 /utils/codeset2
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/console-charset/.dirs/runtime
630s ok 15 /utils/console-charset
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/gettext/.dirs/runtime
630s ok 16 /utils/gettext
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/username/.dirs/runtime
630s ok 17 /utils/username
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/realname/.dirs/runtime
630s ok 18 /utils/realname
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/hostname/.dirs/runtime
630s ok 19 /utils/hostname
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/os-info/.dirs/runtime
630s # NAME: Ubuntu
630s ok 20 /utils/os-info
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/.dirs/runtime
630s ok 21 /utils/clear-pointer
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer-cast/.dirs/runtime
630s ok 22 /utils/clear-pointer-cast
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/take-pointer/.dirs/runtime
630s ok 23 /utils/take-pointer
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-source/.dirs/runtime
630s ok 24 /utils/clear-source
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/misc-mem/.dirs/runtime
630s ok 25 /utils/misc-mem
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/.dirs/runtime
630s # /utils/aligned-mem summary: Aligned memory allocator
630s # Alignment must not be zero
630s # Alignment must be a power of two
630s # Alignment must be a multiple of sizeof(void*)
630s ok 26 /utils/aligned-mem
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/free-sized/.dirs/runtime
630s # /utils/free-sized summary: Check that g_free_sized() works
630s ok 27 /utils/free-sized
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/nullify/.dirs/runtime
630s ok 28 /utils/nullify
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/atexit/.dirs/runtime
630s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/atexit: No such file or directory
630s ok 29 /utils/atexit
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/check-setuid/.dirs/runtime
630s ok 30 /utils/check-setuid
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/int-limits/.dirs/runtime
630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
630s ok 31 /utils/int-limits
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-list/.dirs/runtime
630s ok 32 /utils/clear-list
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-slist/.dirs/runtime
630s ok 33 /utils/clear-slist
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/steal-handle-id/.dirs/runtime
630s ok 34 /utils/steal-handle-id
630s # Start of user-special-dirs tests
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/desktop/.dirs/runtime
630s ok 35 /utils/user-special-dirs/desktop
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked/.dirs/runtime
630s # /utils/user-special-dirs/load-unlocked summary: Tests error and corner cases of user-dirs.dirs content.
630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/4800
630s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/load-unlocked: No such file or directory
630s ok 36 /utils/user-special-dirs/load-unlocked
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks/.dirs/runtime
630s # /utils/user-special-dirs/reload-leaks summary: Tests that old user special dirs values are deliberately leaked on reload.
630s Unable to clean up temporary directory /tmp/test_utils-c-11_JCPGK3/utils/user-special-dirs/reload-leaks: No such file or directory
630s ok 37 /utils/user-special-dirs/reload-leaks
630s # End of user-special-dirs tests
630s # Start of clear-pointer tests
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/clear-pointer/side-effects/.dirs/runtime
630s ok 38 /utils/clear-pointer/side-effects
630s # End of clear-pointer tests
630s # Start of aligned-mem tests
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/alignment/.dirs/runtime
630s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
630s ok 39 /utils/aligned-mem/alignment
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/zeroed/.dirs/runtime
630s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
630s ok 40 /utils/aligned-mem/zeroed
630s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/home
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/cache
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/system-config1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/system-config2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/config
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/system-data1:/tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/system-data2
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/data
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/state
630s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-c-11_JCPGK3/utils/aligned-mem/free-sized/.dirs/runtime
630s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
630s ok 41 /utils/aligned-mem/free-sized
630s # Start of subprocess tests
630s # End of subprocess tests
630s # End of aligned-mem tests
630s # End of utils tests
630s ok - glib/utils-c-11.test
630s # Running test: glib/portal-support-none.test
630s TAP version 14
630s # random seed: R02S5ef665019615ee0e6cc969b279d46d9c
630s 1..1
630s # Start of portal-support tests
630s ok 1 /portal-support/none
630s # End of portal-support tests
630s ok - glib/portal-support-none.test
630s # Running test: glib/gsocketclient-slow.test
630s TAP version 14
630s # random seed: R02S73be8dbff7bf6d3e5536876bbe4ff47b
630s 1..4
630s # Start of socket-client tests
630s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
630s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
630s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac245e2838c0 and GSocketClientAsyncConnectData 0xac245e27e530
630s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
630s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
630s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac245e287560 for GSocketClientAsyncConnectData 0xac245e27e530
630s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
630s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
630s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
630s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
630s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
630s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
630s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac245e287560 for GSocketClientAsyncConnectData 0xac245e27e530
630s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
631s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
631s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
631s ok 1 /socket-client/connection-fail
631s # slow test /socket-client/connection-fail executed in 1.20 secs
631s # Start of happy-eyeballs tests
631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac245e2860f0 and GSocketClientAsyncConnectData 0xac245e287090
631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac245e28a370 for GSocketClientAsyncConnectData 0xac245e287090
631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
631s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
631s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
631s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
631s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
631s ok 2 /socket-client/happy-eyeballs/slow
631s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs
631s # Start of cancellation tests
631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac245e286d70 and GSocketClientAsyncConnectData 0xac245e28a610
631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
631s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
631s ok 3 /socket-client/happy-eyeballs/cancellation/instant
631s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xac245e286010 and GSocketClientAsyncConnectData 0xac245e28a150
631s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
631s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
631s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xac245e28abd0 for GSocketClientAsyncConnectData 0xac245e28a150
631s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
632s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
632s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
632s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
632s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
632s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
632s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
632s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs
632s # End of cancellation tests
632s # End of happy-eyeballs tests
632s # End of socket-client tests
632s ok - glib/gsocketclient-slow.test
632s # Running test: glib/cond.test
632s TAP version 14
632s # random seed: R02S4de15389d1d7d9bc41f1884eafafb40b
632s 1..4
632s # Start of thread tests
632s ok 1 /thread/cond1
632s ok 2 /thread/cond2
632s # Start of cond tests
633s ok 3 /thread/cond/wait-until
633s # slow test /thread/cond/wait-until executed in 1.02 secs
633s # Start of wait-until tests
633s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
633s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
634s # Executing: glib/cond.test
634s ok 4 /thread/cond/wait-until/contended-and-interrupted
634s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs
634s # End of wait-until tests
634s # End of cond tests
634s # End of thread tests
634s ok - glib/cond.test
634s # Running test: glib/private.test
634s TAP version 14
634s # random seed: R02S89754b57bad9a660e421e1e2a94c23ed
634s 1..8
634s # Start of thread tests
634s ok 1 /thread/private1
635s ok 2 /thread/private2
635s # slow test /thread/private2 executed in 1.08 secs
635s ok 3 /thread/private3
635s ok 4 /thread/staticprivate1
635s ok 5 /thread/staticprivate2
635s ok 6 /thread/staticprivate3
636s ok 7 /thread/staticprivate4
636s # slow test /thread/staticprivate4 executed in 1.09 secs
636s ok 8 /thread/staticprivate5
636s # End of thread tests
636s ok - glib/private.test
636s # Running test: glib/thread.test
636s TAP version 14
636s # random seed: R02S7b6dcdc3f04187cc1d9d6624de855795
636s 1..7
636s # Start of thread tests
636s ok 1 /thread/thread1
636s ok 2 /thread/thread2
636s ok 3 /thread/thread3
636s ok - glib/thread.test
636s # Running test: glib/mapping.test
636s ok - glib/mapping.test
636s # Running test: glib/mem-overflow.test
636s ok 4 /thread/thread4
636s ok 5 /thread/thread5
636s ok 6 /thread/thread6
636s ok 7 /thread/thread7
636s # End of thread tests
636s TAP version 14
636s # random seed: R02S1559c41cc5e07f1247aab1dd78e7537a
636s 1..3
636s # Start of mapping tests
636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/home
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/cache
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/system-config1:/tmp/test_mapping_XSOHK3/mapping/flags/.dirs/system-config2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/config
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/system-data1:/tmp/test_mapping_XSOHK3/mapping/flags/.dirs/system-data2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/data
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/state
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XSOHK3/mapping/flags/.dirs/runtime
636s # test_mapping: ok
636s ok 1 /mapping/flags
636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/home
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/cache
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/system-config1:/tmp/test_mapping_XSOHK3/mapping/private/.dirs/system-config2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/config
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/system-data1:/tmp/test_mapping_XSOHK3/mapping/private/.dirs/system-data2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/data
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/state
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XSOHK3/mapping/private/.dirs/runtime
636s ok 2 /mapping/private
636s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/home
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/cache
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/system-config2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/config
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/system-data2
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/data
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/state
636s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_XSOHK3/mapping/private-child/.dirs/runtime
636s # test_child_private: child spawned
636s # Subtest: /usr/libexec/installed-tests/glib/mapping
636s # random seed: R02Sf8fea5ab149e2e0a7612815211ee6d36
636s # test_child_private: received first child signal
636s # test_child_private: received parent signal
636s # Child exited with status 0
636s # test_child_private: received second child signal
636s ok 3 /mapping/private-child
636s # End of mapping tests
636s TAP version 14
636s # random seed: R02Sa4ad11591d216f32c1d3c11444636a96
636s 1..2
636s # Start of mem tests
636s ok 1 /mem/overflow
636s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
636s ok 2 /mem/empty-alloc
636s # Start of overflow tests
636s # Start of subprocess tests
636s # End of subprocess tests
636s # End of overflow tests
636s # Start of empty-alloc tests
636s # End of empty-alloc tests
636s # End of mem tests
636s ok - glib/mem-overflow.test
636s # Running test: glib/references.test
636s TAP version 14
636s # random seed: R02S97dd8470f00af1d3e34ef10eceef5439
636s 1..4
636s # Start of gobject tests
636s ok 1 /gobject/references
636s ok 2 /gobject/references-many
636s ok 3 /gobject/references_two
636s ok 4 /gobject/references_run_dispose
636s # End of gobject tests
636s ok - glib/references.test
636s # Running test: glib/onceinit.test
636s TAP version 14
636s # random seed: R02Sab7b31e605111a9b8b8af5cb6ca1f0c0
636s 1..1
636s # Start of thread tests
636s ok - glib/onceinit.test
636s ok 1 /thread/onceinit
636s # End of thread tests
636s # Running test: glib/cancellable.test
636s TAP version 14
636s # random seed: R02Sf37abff20ba04fed450a1e1afd359cd6
636s 1..18
636s # Start of cancellable tests
636s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
636s ok 2 /cancellable/null
636s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose
636s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
636s ok 4 /cancellable/connect-to-disposing-callback
636s ok 5 /cancellable/connect-cancelled-data-is-destroyed
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 1
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 0
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 1
636s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference
636s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
636s ok 7 /cancellable/connect-cancelled-to-disposing-callback
636s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 1
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 0
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 1
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 0
636s # Toggle reference callback for GCancellable (0xaec0369a2c10), last: 1
636s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference
636s # /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
637s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs
637s # /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
637s ok 11 /cancellable/resets-on-cancel-callback-hangs
637s ok 12 /cancellable/poll-fd
637s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
637s ok 13 /cancellable/poll-fd-cancelled
637s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
637s ok 14 /cancellable/poll-fd-cancelled-threaded
637s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
637s ok 15 /cancellable/cancel-reset-races
637s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
637s ok 16 /cancellable/cancel-reset-connect-races
637s # End of cancellable tests
637s # Start of cancellable-source tests
637s # /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)
637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
637s ok 17 /cancellable-source/threaded-dispose
637s # slow test /cancellable-source/threaded-dispose executed in 0.71 secs
637s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times
637s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774
637s ok 18 /cancellable-source/can-be-fired-multiple-times
637s # End of cancellable-source tests
637s ok - glib/cancellable.test
637s # Running test: glib/utils-unisolated.test
637s TAP version 14
637s # random seed: R02Sd6719274f2c96a7ef458254268e35537
637s 1..1
637s # Start of utils tests
637s ok 1 /utils/xdgdirs
637s # End of utils tests
637s ok - glib/utils-unisolated.test
637s # Running test: glib/gdbus-introspection.test
637s TAP version 14
637s # random seed: R02S98fedaec8a75ee050b21ac0cf060d8d9
638s 1..4
638s # Start of gdbus tests
638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/home
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/cache
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/system-config2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/config
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/system-data2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/data
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/state
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-parser/.dirs/runtime
638s ok 1 /gdbus/introspection-parser
638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/home
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/cache
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/system-config2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/config
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/system-data2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/data
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/state
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-generate/.dirs/runtime
638s ok 2 /gdbus/introspection-generate
638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/home
638s ok - glib/gdbus-introspection.test
638s # Running test: glib/glistmodel.test
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/cache
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/system-config2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/config
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/system-data2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/data
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/state
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-default-direction/.dirs/runtime
638s ok 3 /gdbus/introspection-default-direction
638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/home
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/cache
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/system-config2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/config
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/system-data2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/data
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/state
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_XJBGK3/gdbus/introspection-extra-data/.dirs/runtime
638s ok 4 /gdbus/introspection-extra-data
638s # End of gdbus tests
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s TAP version 14
638s # random seed: R02Sea6964a43a6a37dc5e33b403e27a58a6
638s 1..18
638s # Start of glistmodel tests
638s # Start of store tests
638s ok 1 /glistmodel/store/properties
638s ok 2 /glistmodel/store/non-gobjects
638s ok 3 /glistmodel/store/boundaries
638s ok 4 /glistmodel/store/refcounts
638s ok 5 /glistmodel/store/sorted
638s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
638s ok 6 /glistmodel/store/splice-replace-middle
638s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
638s ok 7 /glistmodel/store/splice-replace-all
638s ok 8 /glistmodel/store/splice-noop
638s ok 9 /glistmodel/store/splice-remove-multiple
638s ok 10 /glistmodel/store/splice-add-multiple
638s ok 11 /glistmodel/store/splice-wrong-type
638s ok 12 /glistmodel/store/item-type
638s ok 13 /glistmodel/store/remove-all
638s ok 14 /glistmodel/store/sort
638s ok 15 /glistmodel/store/get-item-cache
638s ok 16 /glistmodel/store/items-changed
638s ok 17 /glistmodel/store/past-end
638s ok 18 /glistmodel/store/find
638s # End of store tests
638s # End of glistmodel tests
638s ok - glib/glistmodel.test
638s # Running test: glib/permission.test
638s TAP version 14
638s # random seed: R02S7328494af1206e9368027f478a59cd3d
638s 1..1
638s # Start of permission tests
638s ok 1 /permission/simple
638s # End of permission tests
638s ok - glib/permission.test
638s # Running test: glib/gdbus-proxy-unique-name.test
638s TAP version 14
638s # random seed: R02Sa1dbd2b57bfc5949e91524d0bd3e066d
638s 1..1
638s # Start of gdbus tests
638s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/home
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/cache
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/system-config2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/config
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/system-data2
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/data
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/state
638s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_EGVGK3/gdbus/proxy-unique-name/.dirs/runtime
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
638s ok 1 /gdbus/proxy-unique-name
638s # End of gdbus tests
638s ok - glib/gdbus-proxy-unique-name.test
638s # Running test: glib/mutex.test
638s TAP version 14
638s # random seed: R02Sbd105ee84e581fa96b1f1ed9e040c053
638s 1..17
638s # Start of thread tests
638s ok 1 /thread/mutex1
638s ok 2 /thread/mutex2
638s ok 3 /thread/mutex3
638s ok 4 /thread/mutex4
639s # Executing: glib/mutex.test
641s ok 5 /thread/mutex5
641s # slow test /thread/mutex5 executed in 3.37 secs
641s # Start of mutex tests
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s # /thread/mutex/errno summary: Validates that errno is not touched upon return
641s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
641s ok 6 /thread/mutex/errno
641s # Start of perf tests
641s # max perf: inf mips
641s ok 7 /thread/mutex/perf/uncontended
641s # Start of contended tests
641s # max perf: inf mips
641s ok 8 /thread/mutex/perf/contended/1
641s # max perf: 0.375000 mips
641s ok 9 /thread/mutex/perf/contended/2
641s # max perf: inf mips
641s ok 10 /thread/mutex/perf/contended/3
641s # max perf: inf mips
641s ok 11 /thread/mutex/perf/contended/4
641s # max perf: 3.000000 mips
641s ok 12 /thread/mutex/perf/contended/5
641s # max perf: 2.333333 mips
641s ok 13 /thread/mutex/perf/contended/6
641s # max perf: 2.666667 mips
641s ok 14 /thread/mutex/perf/contended/7
641s # max perf: 4.500000 mips
641s ok 15 /thread/mutex/perf/contended/8
641s # max perf: 3.333333 mips
641s ok 16 /thread/mutex/perf/contended/9
641s # max perf: 5.500000 mips
641s ok 17 /thread/mutex/perf/contended/10
641s # End of contended tests
641s # End of perf tests
641s # End of mutex tests
641s # End of thread tests
641s ok - glib/mutex.test
641s # Running test: glib/atomic-c-89.test
641s TAP version 14
641s # random seed: R02Sfdb1f9a709b8d8035438ce5aadee996c
641s 1..2
641s # Start of atomic tests
641s ok 1 /atomic/types
641s ok 2 /atomic/threaded
641s # End of atomic tests
641s ok - glib/atomic-c-89.test
641s # Running test: glib/gdbus-connection-loss.test
641s TAP version 14
641s # random seed: R02Sdedadd020e134c8fc1606e1b7b0bec38
641s 1..1
641s # Start of gdbus tests
641s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/home
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/cache
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/system-config2
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/config
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/system-data2
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/data
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/state
641s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_GRYHK3/gdbus/connection-loss/.dirs/runtime
641s ok - glib/gdbus-connection-loss.test
641s ok 1 /gdbus/connection-loss
641s # End of gdbus tests
641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
641s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
641s # Running test: glib/power-profile-monitor-dbus.test
642s TAP version 13
642s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled
642s 1..1
642s ok - glib/power-profile-monitor-dbus.test
642s # Running test: glib/properties-refcount4.test
642s TAP version 14
642s # random seed: R02Sfa6aa386a9e3d7646d92e3dd2ea69bac
642s ok - glib/properties-refcount4.test
642s 1..1
642s # Start of gobject tests
642s # Start of refcount tests
642s ok 1 /gobject/refcount/properties-4
642s # End of refcount tests
642s # End of gobject tests
642s # Running test: glib/convert.test
642s TAP version 14
642s # random seed: R02Sd57bf6d084a146e2b5b0bca9788786fe
642s 1..14
642s # Start of conversion tests
642s ok 1 /conversion/no-conv
642s ok 2 /conversion/iconv-state
642s ok 3 /conversion/illegal-sequence
642s ok 4 /conversion/byte-order
642s ok 5 /conversion/unicode
642s ok - glib/convert.test
642s # Running test: glib/fileutils.test
642s ok 6 /conversion/filename-utf8
642s ok 7 /conversion/filename-display
642s ok 8 /conversion/convert-embedded-nul
642s # Start of locale-to-utf8 tests
642s ok 9 /conversion/locale-to-utf8/embedded-nul
642s # Start of embedded-nul tests
642s # Start of subprocess tests
642s # End of subprocess tests
642s # End of embedded-nul tests
642s # End of locale-to-utf8 tests
642s # Start of locale-from-utf8 tests
642s ok 10 /conversion/locale-from-utf8/embedded-nul
642s # Start of embedded-nul tests
642s # Start of subprocess tests
642s # End of subprocess tests
642s # End of embedded-nul tests
642s # End of locale-from-utf8 tests
642s # Start of filename-to-utf8 tests
642s ok 11 /conversion/filename-to-utf8/embedded-nul
642s # Start of embedded-nul tests
642s # Start of subprocess tests
642s # End of subprocess tests
642s # End of embedded-nul tests
642s # End of filename-to-utf8 tests
642s # Start of filename-from-utf8 tests
642s ok 12 /conversion/filename-from-utf8/embedded-nul
642s # Start of embedded-nul tests
642s # Start of subprocess tests
642s # End of subprocess tests
642s # End of embedded-nul tests
642s # End of filename-from-utf8 tests
642s # Start of filename-from-uri tests
642s ok 13 /conversion/filename-from-uri/query-is-ignored
642s ok 14 /conversion/filename-from-uri/fragment-is-ignored
642s # End of filename-from-uri tests
642s # End of conversion tests
642s TAP version 14
642s # random seed: R02S638c16fba7bc306ec678e2360a443214
642s 1..27
642s # Start of fileutils tests
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/paths/.dirs/runtime
642s ok 1 /fileutils/paths
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/build-path/.dirs/runtime
642s ok 2 /fileutils/build-path
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/build-pathv/.dirs/runtime
642s ok 3 /fileutils/build-pathv
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/build-filename/.dirs/runtime
642s ok 4 /fileutils/build-filename
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/build-filenamev/.dirs/runtime
642s ok 5 /fileutils/build-filenamev
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents/.dirs/runtime
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Checking g_mkdir_with_parents() in subdir ./hum/
642s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/
642s ok 6 /fileutils/mkdir-with-parents
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/mkdir-with-parents-permission/.dirs/runtime
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s ok 7 /fileutils/mkdir-with-parents-permission
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/format-size-for-display/.dirs/runtime
642s ok 8 /fileutils/format-size-for-display
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/errors/.dirs/runtime
642s ok 9 /fileutils/errors
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/basename/.dirs/runtime
642s ok 10 /fileutils/basename
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/get-basename/.dirs/runtime
642s ok 11 /fileutils/get-basename
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/dirname/.dirs/runtime
642s ok 12 /fileutils/dirname
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/dir-make-tmp/.dirs/runtime
642s ok 13 /fileutils/dir-make-tmp
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/file-open-tmp/.dirs/runtime
642s ok 14 /fileutils/file-open-tmp
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/file-test/.dirs/runtime
642s ok 15 /fileutils/file-test
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/mkstemp/.dirs/runtime
642s ok 16 /fileutils/mkstemp
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/mkdtemp/.dirs/runtime
642s ok 17 /fileutils/mkdtemp
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/get-contents/.dirs/runtime
642s ok 18 /fileutils/get-contents
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/get-contents-large-file/.dirs/runtime
642s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/set-contents/.dirs/runtime
642s ok 20 /fileutils/set-contents
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/.dirs/runtime
642s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
642s # Flags 0 and test 0
642s # Flags 0 and test 1
642s # Flags 0 and test 2
642s # Flags 0 and test 3
642s # Flags 0 and test 4
642s # Flags 0 and test 5
642s # Flags 0 and test 6
642s # Flags 1 and test 0
642s # Flags 1 and test 1
642s # Flags 1 and test 2
642s # Flags 1 and test 3
642s # Flags 1 and test 4
642s # Flags 1 and test 5
642s # Flags 1 and test 6
642s # Flags 2 and test 0
642s # Flags 2 and test 1
642s # Flags 2 and test 2
642s # Flags 2 and test 3
642s # Flags 2 and test 4
642s # Flags 2 and test 5
642s # Flags 2 and test 6
642s # Flags 3 and test 0
642s # Flags 3 and test 1
642s # Flags 3 and test 2
642s # Flags 3 and test 3
642s # Flags 3 and test 4
642s # Flags 3 and test 5
642s # Flags 3 and test 6
642s # Flags 4 and test 0
642s # Flags 4 and test 1
642s # Flags 4 and test 2
642s # Flags 4 and test 3
642s # Flags 4 and test 4
642s # Flags 4 and test 5
642s # Flags 4 and test 6
642s # Flags 5 and test 0
642s # Flags 5 and test 1
642s # Flags 5 and test 2
642s # Flags 5 and test 3
642s # Flags 5 and test 4
642s # Flags 5 and test 5
642s # Flags 5 and test 6
642s # Flags 6 and test 0
642s # Flags 6 and test 1
642s # Flags 6 and test 2
642s # Flags 6 and test 3
642s # Flags 6 and test 4
642s # Flags 6 and test 5
642s # Flags 6 and test 6
642s ok 21 /fileutils/set-contents-full
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/read-link/.dirs/runtime
642s ok 22 /fileutils/read-link
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/stdio-wrappers/.dirs/runtime
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s ok 23 /fileutils/stdio-wrappers
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/fopen-modes/.dirs/runtime
642s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
642s # Testing fopen() mode 'w'
642s # Testing fopen() mode 'r'
642s # Testing fopen() mode 'a'
642s # Testing fopen() mode 'w+'
642s # Testing fopen() mode 'r+'
642s # Testing fopen() mode 'a+'
642s # Testing fopen() mode 'wb'
642s # Testing fopen() mode 'rb'
642s # Testing fopen() mode 'ab'
642s # Testing fopen() mode 'w+b'
642s # Testing fopen() mode 'r+b'
642s # Testing fopen() mode 'a+b'
642s # Testing fopen() mode 'wb+'
642s # Testing fopen() mode 'rb+'
642s # Testing fopen() mode 'ab+'
642s # Testing fopen() mode 'we'
642s # Testing fopen() mode 're'
642s # Testing fopen() mode 'ae'
642s # Testing fopen() mode 'w+e'
642s # Testing fopen() mode 'r+e'
642s # Testing fopen() mode 'a+e'
642s # Testing fopen() mode 'wbe'
642s # Testing fopen() mode 'rbe'
642s # Testing fopen() mode 'abe'
642s # Testing fopen() mode 'w+be'
642s # Testing fopen() mode 'r+be'
642s # Testing fopen() mode 'a+be'
642s # Testing fopen() mode 'wb+e'
642s # Testing fopen() mode 'rb+e'
642s # Testing fopen() mode 'ab+e'
642s # Testing fopen() mode 'web'
642s # Testing fopen() mode 'reb'
642s # Testing fopen() mode 'aeb'
642s # Testing fopen() mode 'w+eb'
642s # Testing fopen() mode 'r+eb'
642s # Testing fopen() mode 'a+eb'
642s # Testing fopen() mode 'web+'
642s # Testing fopen() mode 'reb+'
642s # Testing fopen() mode 'aeb+'
642s ok 24 /fileutils/fopen-modes
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/clear-fd/.dirs/runtime
642s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
642s # Will be closed by autocleanup: 3, -42
642s # Testing error handling
642s ok 25 /fileutils/clear-fd
642s # Start of set-contents-full tests
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-file/.dirs/runtime
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
642s ok 26 /fileutils/set-contents-full/read-only-file
642s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/home
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/cache
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/config
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/data
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/state
642s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_NTBKK3/fileutils/set-contents-full/read-only-directory/.dirs/runtime
642s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
642s # Flags 0
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 1
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 2
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 3
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 4
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 5
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s # Flags 6
642s # We do not have CAP_DAC_OVERRIDE or equivalent
642s ok 27 /fileutils/set-contents-full/read-only-directory
642s # End of set-contents-full tests
642s # Start of clear-fd tests
642s # Start of subprocess tests
642s # End of subprocess tests
642s # End of clear-fd tests
642s # End of fileutils tests
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-3H08J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-ZMO7J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-U5S7J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-7JR7J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-08T7J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-F8V7J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3/glib-file-set-contents-full-rodir-4J07J3: Directory not empty
642s Unable to clean up temporary directory /tmp/test_fileutils_NTBKK3: Directory not empty
642s ok - glib/fileutils.test
642s # Running test: glib/utf8-pointer.test
642s TAP version 14
642s # random seed: R02S57103afd34b3b42be96e7c8331846324
642s 1..3
642s # Start of utf8 tests
643s ok 1 /utf8/offsets
643s # slow test /utf8/offsets executed in 0.89 secs
643s ok 2 /utf8/lengths
643s ok 3 /utf8/find
643s # End of utf8 tests
643s ok - glib/utf8-pointer.test
643s # Running test: glib/cache.test
643s ok - glib/cache.test
643s TAP version 14
643s # random seed: R02S2938836e69c134832516d02b8214acc2
643s 1..1
643s # Start of cache tests
643s ok 1 /cache/basic
643s # End of cache tests
643s # Running test: glib/async-close-output-stream.test
643s TAP version 14
643s # random seed: R02S0dc8c37276d45496bb5a20e60c5c0ec6
643s ok - glib/async-close-output-stream.test
643s # Running test: glib/timeout.test
643s 1..3
643s # Start of close-async tests
643s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
643s ok 1 /close-async/without-flush
643s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
643s ok 2 /close-async/with-flush
643s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
643s ok 3 /close-async/with-async-flush
643s # End of close-async tests
643s TAP version 14
643s # random seed: R02S73672a912dde7ebd7400cd43ae979877
643s 1..5
643s # Start of timeout tests
643s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
644s # Executing: glib/timeout.test
645s ok 1 /timeout/seconds
645s # slow test /timeout/seconds executed in 2.10 secs
647s ok 2 /timeout/seconds-once
647s # slow test /timeout/seconds-once executed in 2.10 secs
647s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
649s # Executing: glib/timeout.test
649s ok 3 /timeout/weeks-overflow
649s # slow test /timeout/weeks-overflow executed in 2.10 secs
649s ok 4 /timeout/far-future-ready-time
654s # Executing: glib/timeout.test
659s # Executing: glib/timeout.test
659s ok 5 /timeout/rounding
659s # slow test /timeout/rounding executed in 10.09 secs
659s # End of timeout tests
659s ok - glib/timeout.test
659s # Running test: glib/cxx-11.test
659s TAP version 14
659s # random seed: R02S98583f9b13931fe646490d4d007f1aba
659s 1..2
659s # Start of gtask tests
659s # 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.
659s ok 1 /gtask/name
659s # Start of name tests
659s # 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.
659s ok 2 /gtask/name/macro-wrapper
659s # End of name tests
659s # End of gtask tests
659s ok - glib/cxx-11.test
659s # Running test: glib/messages-low-memory.py.test
659s TAP version 13
659s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
659s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
659s # tmpdir: /tmp/tmpo1h8m4ge
659s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory']
659s # Return code: -6
659s # Output:
659s #
659s # Error:
659s # GLib-Message: 22:21:16.469: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
659s # GLib-Message: 22:21:16.469: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
659s # ../../../glib/gprintf.c:351: failed to allocate memory
659s 1..1
659s ok - glib/messages-low-memory.py.test
659s # Running test: glib/refcount-macro.test
659s TAP version 14
659s # random seed: R02S94ced42c6c790502583ce33b6da4036e
659s 1..4
659s # Start of refcount tests
659s ok 1 /refcount/grefcount
659s ok 2 /refcount/gatomicrefcount
659s # Start of grefcount tests
659s ok 3 /refcount/grefcount/saturation
659s # End of grefcount tests
659s # Start of gatomicrefcount tests
659s ok 4 /refcount/gatomicrefcount/saturation
659s # End of gatomicrefcount tests
659s # End of refcount tests
659s ok - glib/refcount-macro.test
659s # Running test: glib/simple-async-result.test
659s TAP version 14
659s # random seed: R02Sf4a600a20905c0a41d29f14a8ba0628d
659s 1..2
659s # Start of gio tests
659s # Start of simple-async-result tests
659s ok 1 /gio/simple-async-result/test
659s # GLib-GIO-DEBUG: GTask 0xbd38427dbb10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
659s ok 2 /gio/simple-async-result/valid
659s # End of simple-async-result tests
659s # End of gio tests
659s ok - glib/simple-async-result.test
659s # Running test: glib/gdbus-test-codegen.test
659s TAP version 14
659s # random seed: R02Sb9a055a82664def0315b4a1efcfbfeb8
659s 1..8
659s # Start of gdbus tests
659s # Start of codegen tests
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/annotations/.dirs/runtime
659s ok 1 /gdbus/codegen/annotations
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/interface_stability/.dirs/runtime
659s ok 2 /gdbus/codegen/interface_stability
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/object-manager/.dirs/runtime
659s ok 3 /gdbus/codegen/object-manager
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/property-naming/.dirs/runtime
659s ok 4 /gdbus/codegen/property-naming
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/autocleanups/.dirs/runtime
659s ok 5 /gdbus/codegen/autocleanups
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/deprecations/.dirs/runtime
659s ok 6 /gdbus/codegen/deprecations
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/standalone-interface-info/.dirs/runtime
659s ok 7 /gdbus/codegen/standalone-interface-info
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_KTOBK3/gdbus/codegen/unix-fd-list/.dirs/runtime
659s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
659s ok 8 /gdbus/codegen/unix-fd-list
659s # End of codegen tests
659s # End of gdbus tests
659s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
659s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
659s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
659s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
659s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
659s ok - glib/gdbus-test-codegen.test
659s # Running test: glib/readwrite.test
659s TAP version 14
659s # random seed: R02S3adbbdb530ac1c8b32a52deb782941df
659s 1..3
659s # Start of readwrite tests
659s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
659s ok 1 /readwrite/test_g_file_open_readwrite
659s ok 2 /readwrite/test_g_file_create_readwrite
659s ok 3 /readwrite/test_g_file_replace_readwrite
659s # End of readwrite tests
659s ok - glib/readwrite.test
659s # Running test: glib/gdbus-connection-slow.test
659s TAP version 14
659s # random seed: R02Sd7eda37aa7321499d588b7980e91f22a
659s 1..2
659s # Start of gdbus tests
659s # Start of connection tests
659s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/home
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/cache
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/system-config2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/config
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/system-data2
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/data
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/state
659s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/flush/.dirs/runtime
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s ok 1 /gdbus/connection/flush
660s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/home
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/cache
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/system-config2
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/config
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/system-data2
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/data
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/state
660s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_RYIHK3/gdbus/connection/large_message/.dirs/runtime
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
660s ok 2 /gdbus/connection/large_message
660s # End of connection tests
660s # End of gdbus tests
660s ok - glib/gdbus-connection-slow.test
660s # Running test: glib/charset.test
660s TAP version 14
660s # random seed: R02S9f8b99ac2a7069dd9910033f71176d23
660s 1..2
660s # Start of charset tests
660s # Test 0
660s # Test 1
660s # Test 2
660s # Test 3
660s ok 1 /charset/language_names_with_category
660s ok 2 /charset/language_names_with_category_async
660s # End of charset tests
660s ok - glib/charset.test
660s # Running test: glib/unix.test
660s TAP version 14
660s # random seed: R02S77c5c0214e430d2e46ec5cb5997a3af9
660s 1..20
660s # Start of glib-unix tests
660s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
660s ok 1 /glib-unix/closefrom
660s ok 2 /glib-unix/pipe
660s # /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
660s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
660s ok 3 /glib-unix/pipe-stdio-overwrite
660s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
660s ok 4 /glib-unix/pipe-struct
660s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
660s ok 5 /glib-unix/pipe-struct-auto
660s ok 6 /glib-unix/error
660s ok 7 /glib-unix/nonblocking
660s ok 8 /glib-unix/sighup
660s # slow test /glib-unix/sighup executed in 0.50 secs
661s ok 9 /glib-unix/sigterm
661s # slow test /glib-unix/sigterm executed in 0.50 secs
661s ok 10 /glib-unix/sighup_again
661s # slow test /glib-unix/sighup_again executed in 0.50 secs
661s ok 11 /glib-unix/sighup_add_remove
661s ok 12 /glib-unix/sighup_nested
663s ok 13 /glib-unix/callback_after_signal
663s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
663s ok 14 /glib-unix/child-wait
663s # Start of closefrom tests
663s # Start of subprocess tests
663s # End of subprocess tests
663s # End of closefrom tests
663s # Start of pipe tests
663s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
663s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
663s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
663s ok 15 /glib-unix/pipe/fd-cloexec
663s # End of pipe tests
663s # Start of sighup tests
664s # Executing: glib/unix.test
664s ok 16 /glib-unix/sighup/alternate-stack
664s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
664s # End of sighup tests
664s # Start of sigterm tests
665s ok 17 /glib-unix/sigterm/alternate-stack
665s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
665s # End of sigterm tests
665s # Start of sighup_again tests
666s ok 18 /glib-unix/sighup_again/alternate-stack
666s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs
666s # End of sighup_again tests
666s # Start of get-passwd-entry tests
666s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
666s ok 19 /glib-unix/get-passwd-entry/root
666s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
666s ok 20 /glib-unix/get-passwd-entry/nonexistent
666s # End of get-passwd-entry tests
666s # End of glib-unix tests
666s ok - glib/unix.test
667s # Running test: glib/portal-support-flatpak-network-only.test
667s TAP version 14
667s # random seed: R02Se57787a0dd596ff08a6656ac84168e0f
667s 1..1
667s # Start of portal-support tests
667s # Start of flatpak tests
667s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/home
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/cache
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/system-config2
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/config
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/system-data2
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/data
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/state
667s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/runtime
667s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_163FK3/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
667s ok - glib/portal-support-flatpak-network-only.test
667s # Running test: glib/utf8-misc.test
667s ok - glib/utf8-misc.test
667s # Running test: glib/macros-c-89.test
667s ok - glib/macros-c-89.test
667s # Running test: glib/unix-streams.test
667s ok 1 /portal-support/flatpak/network
667s # End of flatpak tests
667s # End of portal-support tests
667s TAP version 14
667s # random seed: R02S453b970cd2ab7147c59f5fb93a6a7f79
667s 1..7
667s # Start of utf8 tests
667s ok 1 /utf8/strlen
667s ok 2 /utf8/strncpy
667s ok 3 /utf8/strrchr
667s ok 4 /utf8/reverse
667s ok 5 /utf8/substring
667s ok 6 /utf8/make-valid
667s ok 7 /utf8/truncate-middle
667s # End of utf8 tests
667s TAP version 14
667s # random seed: R02Sf61d86cec0517574b97f27fd9f1b99f3
667s 1..4
667s # Start of C tests
667s ok 1 /C/standard-89
667s # End of C tests
667s # Start of alignof tests
667s ok 2 /alignof/fallback
667s # End of alignof tests
667s # Start of assert tests
667s ok 3 /assert/static
667s # End of assert tests
667s # Start of struct tests
667s ok 4 /struct/sizeof_member
667s # End of struct tests
667s TAP version 14
667s # random seed: R02Sc54df81846cf248278b5a8cc854525e7
667s 1..9
667s # Start of unix-streams tests
667s ok 1 /unix-streams/basic
667s ok 2 /unix-streams/pipe-io-test
667s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
668s ok 3 /unix-streams/nonblocking-io-test
668s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
668s ok 4 /unix-streams/read_write
668s ok 5 /unix-streams/read_writev
668s ok 6 /unix-streams/write-wouldblock
668s ok 7 /unix-streams/writev-wouldblock
668s ok 8 /unix-streams/write-async-wouldblock
668s ok 9 /unix-streams/writev-async-wouldblock
668s # End of unix-streams tests
668s ok - glib/unix-streams.test
668s # Running test: glib/1bit-mutex.test
668s TAP version 14
668s # random seed: R02S8b12a5c167381b1d620fd64e5ba86b6a
668s 1..2
668s # Start of glib tests
668s # Start of 1bit-mutex tests
669s # Executing: glib/1bit-mutex.test
671s ok 1 /glib/1bit-mutex/int
671s # slow test /glib/1bit-mutex/int executed in 3.37 secs
674s # Executing: glib/1bit-mutex.test
674s ok 2 /glib/1bit-mutex/pointer
674s # slow test /glib/1bit-mutex/pointer executed in 3.28 secs
674s # End of 1bit-mutex tests
674s # End of glib tests
674s ok - glib/1bit-mutex.test
674s # Running test: glib/properties-refcount1.test
674s TAP version 14
674s # random seed: R02S940c1e5bbd6866cd107f55d12ecd77d9
674s 1..1
674s # Start of gobject tests
674s # Start of refcount tests
674s # .b
674s # .c
674s # .e
674s # .f
674s # .d
674s # .c
674s # .b
674s # .f
674s # .e
674s # .f
674s # .d
674s # .c
674s # .f
674s # .b
674s # .e
674s # .f
674s # .c
674s # .d
674s # .f
674s # .b
674s # .e
674s # .c
674s # .d
674s # .f
675s # .c
675s # .b
675s # .e
675s # .d
675s # .f
675s # .b
675s # .c
675s # .d
675s # .e
675s # .b
675s # .f
675s # .d
675s # .c
675s # .e
675s # .f
675s # .c
675s # .b
675s # .d
675s # .e
675s # .f
675s # .b
675s # .c
675s # .d
675s # .e
675s # .f
675s # .b
675s # .d
675s # .c
675s # .e
675s # .b
675s # .f
675s # .d
675s # .e
675s # .c
675s # .f
675s # .b
675s # .d
675s # .e
675s # .c
675s # .d
675s # .b
675s # .f
675s # .e
675s # .c
675s # .d
675s # .f
675s # .b
675s # .c
675s # .e
675s # .f
675s # .d
675s # .b
675s # .c
675s # .d
675s # .e
675s # .f
675s # .b
675s # .d
675s # .e
675s # .c
675s # .f
675s # .b
675s # .d
675s # .d
675s # .d
675s # .c
675s # .e
675s # .f
675s # .b
675s # .d
675s # .f
675s # .c
675s # .e
675s # .b
675s # .d
676s # .e
676s # .c
676s # .b
676s # .d
676s # .f
676s # .e
676s # .b
676s # .d
676s # .e
676s # .c
676s # .f
676s # .b
676s # .d
676s # .c
676s # .e
676s # .f
676s # .b
676s # .e
676s # .d
676s # .c
676s # .b
676s # .f
676s # .e
676s # .d
676s # .b
676s # .c
676s # .e
676s # .f
676s # .d
676s # .e
676s # .b
676s # .c
676s # .f
676s # .b
676s # .e
676s # .d
676s # .c
676s # .b
676s # .f
676s # .e
676s # .d
676s # .c
676s # .e
676s # .b
676s # .d
676s # .f
676s # .c
676s # .b
676s # .e
676s # .c
676s # .f
676s # .d
676s # .b
676s # .e
676s # .d
676s # .c
676s # .f
676s # .b
676s # .e
676s # .d
676s # .c
676s # .e
676s # .f
676s # .b
676s # .d
676s # .c
676s # .b
676s # .e
676s # .f
676s # .c
676s # .d
676s # .b
677s # .c
677s # .f
677s # .e
677s # .d
677s # .b
677s # .e
677s # .d
677s # .c
677s # .f
677s # .b
677s # .e
677s # .c
677s # .d
677s # .b
677s # .f
677s # .e
677s # .d
677s # .c
677s # .f
677s # .e
677s # .b
677s # .d
677s # .c
677s # .f
677s # .b
677s # .d
677s # .e
677s # .c
677s # .e
677s # .b
677s # .f
677s # .d
677s # .c
677s # .b
677s # .f
677s # .e
677s # .d
677s # .c
677s # .f
677s # .b
677s # .d
677s # .e
677s # .c
677s # .d
677s # .b
677s # .e
677s # .f
677s # .c
677s ok 1 /gobject/refcount/properties-1
677s # slow test /gobject/refcount/properties-1 executed in 3.00 secs
677s # End of refcount tests
677s # End of gobject tests
677s ok - glib/properties-refcount1.test
677s # Running test: glib/gdbus-names.test
677s TAP version 14
677s # random seed: R02Sff3d16141d0e7fc8ddab36d078e198ff
677s 1..10
677s # Start of gdbus tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/validate-names/.dirs/runtime
677s ok 1 /gdbus/validate-names
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-own-name/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 2 /gdbus/bus-own-name
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 3 /gdbus/bus-watch-name
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 4 /gdbus/bus-watch-name-auto-start
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s dbus-daemon[35779]: [session uid=1000 pid=35779 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=35770 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
677s # Acquired a message bus connection
677s dbus-daemon[35779]: [session uid=1000 pid=35779 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService'
677s # Acquired the name org.gtk.GDBus.FakeService
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 6 /gdbus/bus-watch-name-closures
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok - glib/gdbus-names.test
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 7 /gdbus/bus-watch-name-closures-auto-start
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-watch-different-context/.dirs/runtime
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 8 /gdbus/bus-watch-different-context
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/bus-unwatch-early/.dirs/runtime
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
677s ok 9 /gdbus/bus-unwatch-early
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_35FAK3/gdbus/escape-object-path/.dirs/runtime
677s ok 10 /gdbus/escape-object-path
677s # End of gdbus tests
677s # Running test: glib/function-info.test
677s TAP version 14
677s # random seed: R02S475a8eee52cbb881c711d031eb4d4d37
677s 1..1
677s # Start of function-info tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/home
677s ok - glib/function-info.test
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_KXOBK3/function-info/invoker/.dirs/runtime
677s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
677s # /function-info/invoker summary: Test preparing a function invoker
677s ok 1 /function-info/invoker
677s # End of function-info tests
677s # Running test: glib/contenttype.test
677s TAP version 14
677s # random seed: R02S535a1828c1744aaebc380c0a95575eb9
677s 1..14
677s # Start of contenttype tests
677s ok 1 /contenttype/guess
677s ok 2 /contenttype/guess_svg_from_data
677s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX
677s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
677s ok 5 /contenttype/unknown
677s ok 6 /contenttype/subtype
677s ok 7 /contenttype/list
677s ok 8 /contenttype/executable
677s ok 9 /contenttype/description
677s ok 10 /contenttype/icon
677s ok 11 /contenttype/symbolic-icon
677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
677s ok 12 /contenttype/tree
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
677s ok 13 /contenttype/tree_invalid_encoding
677s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
677s ok 14 /contenttype/test_type_is_a_special_case
677s # End of contenttype tests
677s ok - glib/contenttype.test
677s # Running test: glib/cxx-03.test
677s TAP version 14
677s # random seed: R02S74c84bf82a210c1ae8b2e61b5f5408b8
677s 1..2
677s # Start of gtask tests
677s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
677s ok 1 /gtask/name
677s # Start of name tests
677s # GLib-GIO-DEBUG: GTask some other name (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
677s ok 2 /gtask/name/macro-wrapper
677s # End of name tests
677s # End of gtask tests
677s ok - glib/cxx-03.test
677s # Running test: glib/notify-init.test
677s TAP version 14
677s # random seed: R02S5c0d5e1b31f3b7c1bde1c558daee08df
677s 1..1
677s # Start of properties tests
677s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
677s ok 1 /properties/notify-in-init
677s # End of properties tests
677s ok - glib/notify-init.test
677s # Running test: glib/pathbuf.test
677s ok - glib/pathbuf.test
677s TAP version 14
677s # random seed: R02S5ffe147b55560234e1d8e2d01a8fe0ef
677s 1..3
677s # Start of pathbuf tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_E4ZHK3/pathbuf/init/.dirs/runtime
677s # Initializing empty path buf
677s # Initializing with empty path
677s # Initializing with full path
677s # Initializing with no path
677s # Allocating GPathBuf on the heap
677s ok 1 /pathbuf/init
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_E4ZHK3/pathbuf/push-pop/.dirs/runtime
677s # Pushing relative path component
677s # Pushing absolute path component
677s # Popping a path component
677s # Can't pop the last element of a path buffer
677s ok 2 /pathbuf/push-pop
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_E4ZHK3/pathbuf/filename-extension/.dirs/runtime
677s ok 3 /pathbuf/filename-extension
677s # End of pathbuf tests
677s # Running test: glib/qdata.test
677s TAP version 14
677s # random seed: R02Se9ff39e233f4b1a0a182d6ef9ad0117f
677s 1..2
677s # Start of qdata tests
677s ok 1 /qdata/threaded
677s ok 2 /qdata/dup
677s # End of qdata tests
677s ok - glib/qdata.test
677s # Running test: glib/gdbus-peer-object-manager.test
677s TAP version 14
677s # random seed: R02Se81a19dacdc351eebbb9c1b019ce7d62
677s 1..2
677s # Start of gdbus tests
677s # Start of peer-object-manager tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/normal/.dirs/runtime
677s ok - glib/gdbus-peer-object-manager.test
677s # Running test: glib/credentials.test
677s ok 1 /gdbus/peer-object-manager/normal
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_D14JK3/gdbus/peer-object-manager/root/.dirs/runtime
677s ok 2 /gdbus/peer-object-manager/root
677s # End of peer-object-manager tests
677s # End of gdbus tests
677s TAP version 14
677s # random seed: R02S903fcd7ad5e465042debea2f840bbb1a
677s 1..1
677s # Start of credentials tests
677s # GCredentials:linux-ucred:pid=35824,uid=1000,gid=1000
677s # GCredentials:linux-ucred:pid=35824,uid=0,gid=1000
677s ok 1 /credentials/basic
677s # End of credentials tests
677s ok - glib/credentials.test
677s # Running test: glib/value.test
677s TAP version 14
677s # random seed: R02S9c9f3267759dec9764dc72cec0ad4235
677s ok - glib/value.test
677s 1..9
677s # Start of value tests
677s ok 1 /value/basic
677s ok 2 /value/collection
677s ok 3 /value/copying
677s ok 4 /value/enum-transformation
677s ok 5 /value/gtype
677s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
677s ok 6 /value/string
677s # Next: GObject object in GValue of GObject to GValue of GObject
677s # Next: GObject object in GValue of GObject to GValue of TestInterface
677s # Next: GObject object in GValue of GObject to GValue of TestObjectA
677s # Next: GObject object in GValue of GObject to GValue of TestObjectB
677s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
677s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
677s # Next: TestObjectA object in GValue of GObject to GValue of GObject
677s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
677s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
677s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
677s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
677s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
677s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
677s # Next: TestObjectB object in GValue of GObject to GValue of GObject
677s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
677s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
677s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
677s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
677s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
677s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
677s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
677s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
677s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
677s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
677s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
677s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
677s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
677s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
677s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
677s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
677s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
677s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
677s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
677s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
677s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
677s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
677s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
677s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
677s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
677s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
677s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
677s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
677s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
677s ok 7 /value/transform-object
677s # Start of array tests
677s ok 8 /value/array/basic
677s ok 9 /value/array/sort-with-data
677s # End of array tests
677s # End of value tests
677s # Running test: glib/object.test
677s TAP version 14
677s # random seed: R02Sbe8bb17487f401ff6325b5bb4217487d
677s 1..2
677s # Start of object tests
677s # Start of constructor tests
677s ok 1 /object/constructor/singleton
677s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
677s # End of constructor tests
677s # End of object tests
677s ok - glib/object.test
677s # Running test: glib/thread-pool.test
677s TAP version 14
677s # random seed: R02S4e5fb011917971499825ebbe87bc1933
677s 1..6
677s # Start of thread_pool tests
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3712
677s ok 1 /thread_pool/pool_fail
677s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
677s ok 2 /thread_pool/shared
677s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
677s ok 3 /thread_pool/exclusive
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
677s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
677s ok 4 /thread_pool/create_shared_after_exclusive
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
677s ok 5 /thread_pool/create_full
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
677s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
677s ok 6 /thread_pool/create_exclusive_after_shared
677s # End of thread_pool tests
677s ok - glib/thread-pool.test
677s # Running test: glib/utf8-performance.test
677s TAP version 14
677s # random seed: R02Sbeb8fb65d9a145758535c31e8eb7fd6e
677s 1..36
677s # Start of utf8 tests
677s # Start of perf tests
677s # Start of get_char tests
677s # max perf: 43.0 MB/s
677s ok 1 /utf8/perf/get_char/ascii
677s # max perf: inf MB/s
677s ok 2 /utf8/perf/get_char/latin1
677s # max perf: 160.0 MB/s
677s ok 3 /utf8/perf/get_char/cyrillic
677s # max perf: 156.0 MB/s
677s ok 4 /utf8/perf/get_char/han
677s # End of get_char tests
677s # Start of get_char-backwards tests
677s # max perf: 43.0 MB/s
677s ok 5 /utf8/perf/get_char-backwards/ascii
677s # max perf: 67.0 MB/s
677s ok 6 /utf8/perf/get_char-backwards/latin1
677s # max perf: 160.0 MB/s
677s ok 7 /utf8/perf/get_char-backwards/cyrillic
677s # max perf: 156.0 MB/s
677s ok 8 /utf8/perf/get_char-backwards/han
677s # End of get_char-backwards tests
677s # Start of get_char_validated tests
677s # max perf: 43.0 MB/s
677s ok 9 /utf8/perf/get_char_validated/ascii
677s # max perf: 67.0 MB/s
677s ok 10 /utf8/perf/get_char_validated/latin1
677s # max perf: 160.0 MB/s
677s ok 11 /utf8/perf/get_char_validated/cyrillic
677s # max perf: inf MB/s
677s ok 12 /utf8/perf/get_char_validated/han
677s # End of get_char_validated tests
677s # Start of utf8_to_ucs4 tests
677s # max perf: 43.0 MB/s
677s ok 13 /utf8/perf/utf8_to_ucs4/ascii
677s # max perf: 67.0 MB/s
677s ok 14 /utf8/perf/utf8_to_ucs4/latin1
677s # max perf: 160.0 MB/s
677s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
677s # max perf: 156.0 MB/s
677s ok 16 /utf8/perf/utf8_to_ucs4/han
677s # End of utf8_to_ucs4 tests
677s # Start of utf8_to_ucs4-sized tests
677s # max perf: inf MB/s
677s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
677s # max perf: 67.0 MB/s
677s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
677s # max perf: 160.0 MB/s
677s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
677s # max perf: 156.0 MB/s
677s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
677s # End of utf8_to_ucs4-sized tests
677s # Start of utf8_to_ucs4_fast tests
677s # max perf: 43.0 MB/s
677s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
677s # max perf: 67.0 MB/s
677s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
677s # max perf: inf MB/s
677s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
677s # max perf: 156.0 MB/s
677s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
677s # End of utf8_to_ucs4_fast tests
677s # Start of utf8_to_ucs4_fast-sized tests
677s # max perf: 43.0 MB/s
677s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
677s # max perf: inf MB/s
677s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
677s # max perf: 160.0 MB/s
677s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
677s # max perf: inf MB/s
677s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
677s # End of utf8_to_ucs4_fast-sized tests
677s # Start of utf8_validate tests
677s # max perf: inf MB/s
677s ok 29 /utf8/perf/utf8_validate/ascii
677s # max perf: inf MB/s
677s ok 30 /utf8/perf/utf8_validate/latin1
677s # max perf: 160.0 MB/s
677s ok 31 /utf8/perf/utf8_validate/cyrillic
677s # max perf: inf MB/s
677s ok 32 /utf8/perf/utf8_validate/han
677s # End of utf8_validate tests
677s # Start of utf8_validate-sized tests
677s # max perf: inf MB/s
677s ok 33 /utf8/perf/utf8_validate-sized/ascii
677s # max perf: 67.0 MB/s
677s ok 34 /utf8/perf/utf8_validate-sized/latin1
677s # max perf: 160.0 MB/s
677s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
677s # max perf: inf MB/s
677s ok 36 /utf8/perf/utf8_validate-sized/han
677s # End of utf8_validate-sized tests
677s # End of perf tests
677s # End of utf8 tests
677s ok - glib/utf8-performance.test
677s # Running test: glib/print.test
677s TAP version 14
677s # random seed: R02S83788e407baab21f3861622078071a1d
677s 1..1
677s ok 1 /print-console # SKIP Testing console output only supported on Windows
677s ok - glib/print.test
677s # Running test: glib/resources.test
677s TAP version 14
677s # random seed: R02S1dbc25a55c52ae68a12c7aca431300a3
677s 1..19
677s # Start of resource tests
677s ok 1 /resource/file
677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
677s ok 2 /resource/file-path
677s ok 3 /resource/data
677s ok 4 /resource/data_unaligned
677s ok 5 /resource/data-corrupt
677s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression).
677s ok 6 /resource/data-corrupt-compression
677s ok 7 /resource/data-empty
677s ok 8 /resource/registered
677s ok 9 /resource/manual
677s ok 10 /resource/manual2
677s ok 11 /resource/automatic
677s ok 12 /resource/module
677s ok 13 /resource/binary-linked
677s ok 14 /resource/64k
677s GLib-GIO-Message: 22:21:34.676: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
677s GLib-GIO-Message: 22:21:34.676: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
677s GLib-GIO-Message: 22:21:34.676: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
677s ok 15 /resource/overlay
677s ok 16 /resource/digits
677s ok 17 /resource/has-children
677s # Start of uri tests
677s ok 18 /resource/uri/query-info
677s ok 19 /resource/uri/file
677s # End of uri tests
677s # End of resource tests
677s ok - glib/resources.test
677s # Running test: glib/tls-database.test
677s TAP version 14
677s # random seed: R02S5966ad39553c40231396db7919a93264
677s 1..1
677s # Start of tls-backend tests
677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
677s ok 1 /tls-backend/set-default-database
677s # End of tls-backend tests
677s ok - glib/tls-database.test
677s # Running test: glib/ifaceproperties.test
677s TAP version 14
677s # random seed: R02S1346aacc49d967a0cab37519349f8433
677s 1..7
677s # Start of interface tests
677s # Start of properties tests
677s ok 1 /interface/properties/set
677s ok 2 /interface/properties/notify
677s ok 3 /interface/properties/find-overridden
677s ok 4 /interface/properties/list-overridden
677s ok 5 /interface/properties/find-interface
677s ok 6 /interface/properties/list-interface
677s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
677s ok 7 /interface/properties/not-overridden
677s # End of properties tests
677s # End of interface tests
677s ok - glib/ifaceproperties.test
677s # Running test: glib/deftype.test
677s ok - glib/deftype.test
677s # Running test: glib/rand.test
677s TAP version 14
677s # random seed: R02S8c99e63b0fd06c545dccb0788b76eb7e
677s 1..2
677s # Start of rand tests
677s ok 1 /rand/test-rand
677s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
677s ok 2 /rand/double-range
677s # End of rand tests
677s ok - glib/rand.test
677s # Running test: glib/autoptr.test
677s TAP version 14
677s # random seed: R02S880b1caf2ad360b6606d01931bc13680
677s 1..6
677s # Start of autoptr tests
677s ok 1 /autoptr/autoptr
677s ok 2 /autoptr/autoptr_steal
677s ok 3 /autoptr/autolist
677s ok 4 /autoptr/autoslist
677s ok 5 /autoptr/autoqueue
677s ok 6 /autoptr/autoclass
677s # End of autoptr tests
677s ok - glib/autoptr.test
677s # Running test: glib/dynamictype.test
677s TAP version 14
677s # random seed: R02Sea8d869b46fc95c29befe81a8223b519
677s 1..2
677s # Start of gobject tests
677s ok 1 /gobject/dynamic-type
677s # Start of dynamic-type tests
677s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
677s ok 2 /gobject/dynamic-type/query
677s # End of dynamic-type tests
677s # End of gobject tests
677s ok - glib/dynamictype.test
677s # Running test: glib/file-thumbnail.test
677s TAP version 14
677s # random seed: R02Sc160c7b5314310e9d06a0289109ad678
677s 1..7
677s # Start of file-thumbnail tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/runtime
677s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
677s ok 1 /file-thumbnail/fail
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
677s ok 2 /file-thumbnail/size-priority
677s # Start of valid tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
677s ok 3 /file-thumbnail/valid/normal
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
677s ok 4 /file-thumbnail/valid/large
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
677s ok 5 /file-thumbnail/valid/x-large
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
677s ok 6 /file-thumbnail/valid/xx-large
677s # End of valid tests
677s # Start of unknown tests
677s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/home
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/cache
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/system-config2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/config
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/system-data2
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/data
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/state
677s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/runtime
677s # Created test thumbnail at /tmp/test_file-thumbnail_5RMGK3/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
677s ok 7 /file-thumbnail/unknown/super-large
677s # End of unknown tests
677s # End of file-thumbnail tests
677s ok - glib/file-thumbnail.test
677s # Running test: glib/io-channel-basic.test
678s TAP version 14
678s # random seed: R02Sf7ec5d2367412fe490a1436f89d85292
678s 1..1
678s # Start of gio tests
678s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
678s # random seed: R02Se24561b5bac690d7af554e2d90bb6642
678s # GLib-DEBUG: io-channel-basic: child writing 8+2981 bytes to 6
678s # GLib-DEBUG: io-channel-basic: ...from 5: IN
678s # GLib-DEBUG: io-channel-basic: ...from 5: 2981 bytes
678s # GLib-DEBUG: io-channel-basic: ...from 5: OK
678s # GLib-DEBUG: io-channel-basic: child writing 8+2466 bytes to 6
678s # GLib-DEBUG: io-channel-basic: ...from 5: IN
678s # GLib-DEBUG: io-channel-basic: ...from 5: 2466 bytes
678s # GLib-DEBUG: io-channel-basic: ...from 5: OK
678s # GLib-DEBUG: io-channel-basic: child writing 8+4158 bytes to 6
678s # GLib-DEBUG: io-channel-basic: ...from 5: IN
678s # GLib-DEBUG: io-channel-basic: ...from 5: 4158 bytes
678s # GLib-DEBUG: io-channel-basic: ...from 5: OK
679s # GLib-DEBUG: io-channel-basic: child writing 8+1970 bytes to 6
679s # GLib-DEBUG: io-channel-basic: ...from 5: IN
679s # GLib-DEBUG: io-channel-basic: ...from 5: 1970 bytes
679s # GLib-DEBUG: io-channel-basic: ...from 5: OK
679s # GLib-DEBUG: io-channel-basic: child writing 8+3175 bytes to 6
679s # GLib-DEBUG: io-channel-basic: ...from 5: IN
679s # GLib-DEBUG: io-channel-basic: ...from 5: 3175 bytes
679s # GLib-DEBUG: io-channel-basic: ...from 5: OK
679s # GLib-DEBUG: io-channel-basic: child writing 8+2866 bytes to 6
679s # GLib-DEBUG: io-channel-basic: ...from 5: IN
679s # GLib-DEBUG: io-channel-basic: ...from 5: 2866 bytes
679s # GLib-DEBUG: io-channel-basic: ...from 5: OK
679s # Executing: glib/io-channel-basic.test
679s # GLib-DEBUG: io-channel-basic: child writing 8+103 bytes to 6
679s # GLib-DEBUG: io-channel-basic: ...from 5: IN
679s # GLib-DEBUG: io-channel-basic: ...from 5: 103 bytes
679s # GLib-DEBUG: io-channel-basic: ...from 5: OK
680s # GLib-DEBUG: io-channel-basic: child writing 8+319 bytes to 6
680s # GLib-DEBUG: io-channel-basic: ...from 5: IN
680s # GLib-DEBUG: io-channel-basic: ...from 5: 319 bytes
680s # GLib-DEBUG: io-channel-basic: ...from 5: OK
680s # GLib-DEBUG: io-channel-basic: child writing 8+461 bytes to 6
680s # GLib-DEBUG: io-channel-basic: ...from 5: IN
680s # GLib-DEBUG: io-channel-basic: ...from 5: 461 bytes
680s # GLib-DEBUG: io-channel-basic: ...from 5: OK
680s # GLib-DEBUG: io-channel-basic: child writing 8+738 bytes to 6
680s # GLib-DEBUG: io-channel-basic: ...from 5: IN
680s # GLib-DEBUG: io-channel-basic: ...from 5: 738 bytes
680s # GLib-DEBUG: io-channel-basic: ...from 5: OK
680s # GLib-DEBUG: io-channel-basic: child writing 8+3798 bytes to 6
680s # GLib-DEBUG: io-channel-basic: ...from 5: IN
680s # GLib-DEBUG: io-channel-basic: ...from 5: 3798 bytes
680s # GLib-DEBUG: io-channel-basic: ...from 5: OK
681s # GLib-DEBUG: io-channel-basic: child writing 8+130 bytes to 6
681s # GLib-DEBUG: io-channel-basic: ...from 5: IN
681s # GLib-DEBUG: io-channel-basic: ...from 5: 130 bytes
681s # GLib-DEBUG: io-channel-basic: ...from 5: OK
681s # GLib-DEBUG: io-channel-basic: child writing 8+668 bytes to 6
681s # GLib-DEBUG: io-channel-basic: ...from 5: IN
681s # GLib-DEBUG: io-channel-basic: ...from 5: 668 bytes
681s # GLib-DEBUG: io-channel-basic: ...from 5: OK
681s # GLib-DEBUG: io-channel-basic: child writing 8+1534 bytes to 6
681s # GLib-DEBUG: io-channel-basic: ...from 5: IN
681s # GLib-DEBUG: io-channel-basic: ...from 5: 1534 bytes
681s # GLib-DEBUG: io-channel-basic: ...from 5: OK
681s # GLib-DEBUG: io-channel-basic: child writing 8+1988 bytes to 6
681s # GLib-DEBUG: io-channel-basic: ...from 5: IN
681s # GLib-DEBUG: io-channel-basic: ...from 5: 1988 bytes
681s # GLib-DEBUG: io-channel-basic: ...from 5: OK
682s # GLib-DEBUG: io-channel-basic: child writing 8+2510 bytes to 6
682s # GLib-DEBUG: io-channel-basic: ...from 5: IN
682s # GLib-DEBUG: io-channel-basic: ...from 5: 2510 bytes
682s # GLib-DEBUG: io-channel-basic: ...from 5: OK
682s # GLib-DEBUG: io-channel-basic: child writing 8+2962 bytes to 6
682s # GLib-DEBUG: io-channel-basic: ...from 5: IN
682s # GLib-DEBUG: io-channel-basic: ...from 5: 2962 bytes
682s # GLib-DEBUG: io-channel-basic: ...from 5: OK
682s # GLib-DEBUG: io-channel-basic: child writing 8+3270 bytes to 6
682s # GLib-DEBUG: io-channel-basic: ...from 5: IN
682s # GLib-DEBUG: io-channel-basic: ...from 5: 3270 bytes
682s # GLib-DEBUG: io-channel-basic: ...from 5: OK
682s # GLib-DEBUG: io-channel-basic: child writing 8+3094 bytes to 6
682s # GLib-DEBUG: io-channel-basic: ...from 5: IN
682s # GLib-DEBUG: io-channel-basic: ...from 5: 3094 bytes
682s # GLib-DEBUG: io-channel-basic: ...from 5: OK
683s # GLib-DEBUG: io-channel-basic: child writing 8+2966 bytes to 6
683s # GLib-DEBUG: io-channel-basic: ...from 5: IN
683s # GLib-DEBUG: io-channel-basic: ...from 5: 2966 bytes
683s # GLib-DEBUG: io-channel-basic: ...from 5: OK
683s # GLib-DEBUG: io-channel-basic: child writing 8+2826 bytes to 6
683s # GLib-DEBUG: io-channel-basic: ...from 5: IN
683s # GLib-DEBUG: io-channel-basic: ...from 5: 2826 bytes
683s # GLib-DEBUG: io-channel-basic: ...from 5: OK
683s # GLib-DEBUG: io-channel-basic: child writing 8+1670 bytes to 6
683s # GLib-DEBUG: io-channel-basic: ...from 5: IN
683s # GLib-DEBUG: io-channel-basic: ...from 5: 1670 bytes
683s # GLib-DEBUG: io-channel-basic: ...from 5: OK
683s # GLib-DEBUG: io-channel-basic: child writing 8+685 bytes to 6
683s # GLib-DEBUG: io-channel-basic: ...from 5: IN
683s # GLib-DEBUG: io-channel-basic: ...from 5: 685 bytes
683s # GLib-DEBUG: io-channel-basic: ...from 5: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+1589 bytes to 6
684s # GLib-DEBUG: io-channel-basic: child exiting, closing 6
684s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN
684s # GLib-DEBUG: io-channel-basic: ...from 5: 1589 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 5: OK
684s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
684s # random seed: R02S65035e46d82cdc9cdd9439dc797c0343
684s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
684s # random seed: R02Sddc850244132a7fbe235a2d9725b1dcf
684s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
684s # random seed: R02Sea59cedb5ffde2e8e8d65bbdb96642cb
684s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
684s # random seed: R02S93d0da945b2c48cc8f84694ee5c4a449
684s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
684s # random seed: R02S5a41fa704e314b1796cf852d84f9309e
684s # GLib-DEBUG: io-channel-basic: child writing 8+2756 bytes to 17
684s # GLib-DEBUG: io-channel-basic: ...from 16: IN
684s # GLib-DEBUG: io-channel-basic: ...from 16: 2756 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 16: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+4374 bytes to 15
684s # GLib-DEBUG: io-channel-basic: ...from 14: IN
684s # GLib-DEBUG: io-channel-basic: ...from 14: 4374 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 14: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+1126 bytes to 9
684s # GLib-DEBUG: io-channel-basic: ...from 8: IN
684s # GLib-DEBUG: io-channel-basic: ...from 8: 1126 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 8: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+3778 bytes to 11
684s # GLib-DEBUG: io-channel-basic: ...from 10: IN
684s # GLib-DEBUG: io-channel-basic: ...from 10: 3778 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 10: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+4805 bytes to 13
684s # GLib-DEBUG: io-channel-basic: ...from 12: IN
684s # GLib-DEBUG: io-channel-basic: ...from 12: 4805 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 12: OK
684s # Executing: glib/io-channel-basic.test
684s # GLib-DEBUG: io-channel-basic: child writing 8+4123 bytes to 15
684s # GLib-DEBUG: io-channel-basic: ...from 14: IN
684s # GLib-DEBUG: io-channel-basic: ...from 14: 4123 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 14: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+3010 bytes to 17
684s # GLib-DEBUG: io-channel-basic: ...from 16: IN
684s # GLib-DEBUG: io-channel-basic: ...from 16: 3010 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 16: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+852 bytes to 13
684s # GLib-DEBUG: io-channel-basic: ...from 12: IN
684s # GLib-DEBUG: io-channel-basic: ...from 12: 852 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 12: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+4217 bytes to 11
684s # GLib-DEBUG: io-channel-basic: ...from 10: IN
684s # GLib-DEBUG: io-channel-basic: ...from 10: 4217 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 10: OK
684s # GLib-DEBUG: io-channel-basic: child writing 8+693 bytes to 9
684s # GLib-DEBUG: io-channel-basic: ...from 8: IN
684s # GLib-DEBUG: io-channel-basic: ...from 8: 693 bytes
684s # GLib-DEBUG: io-channel-basic: ...from 8: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+4735 bytes to 15
685s # GLib-DEBUG: io-channel-basic: ...from 14: IN
685s # GLib-DEBUG: io-channel-basic: ...from 14: 4735 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 14: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+1904 bytes to 17
685s # GLib-DEBUG: io-channel-basic: ...from 16: IN
685s # GLib-DEBUG: io-channel-basic: ...from 16: 1904 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 16: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+1861 bytes to 9
685s # GLib-DEBUG: io-channel-basic: ...from 8: IN
685s # GLib-DEBUG: io-channel-basic: ...from 8: 1861 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 8: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+2203 bytes to 13
685s # GLib-DEBUG: io-channel-basic: ...from 12: IN
685s # GLib-DEBUG: io-channel-basic: ...from 12: 2203 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 12: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+2622 bytes to 11
685s # GLib-DEBUG: io-channel-basic: ...from 10: IN
685s # GLib-DEBUG: io-channel-basic: ...from 10: 2622 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 10: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+4549 bytes to 15
685s # GLib-DEBUG: io-channel-basic: ...from 14: IN
685s # GLib-DEBUG: io-channel-basic: ...from 14: 4549 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 14: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+3320 bytes to 9
685s # GLib-DEBUG: io-channel-basic: ...from 8: IN
685s # GLib-DEBUG: io-channel-basic: ...from 8: 3320 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 8: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+503 bytes to 17
685s # GLib-DEBUG: io-channel-basic: ...from 16: IN
685s # GLib-DEBUG: io-channel-basic: ...from 16: 503 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 16: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+539 bytes to 11
685s # GLib-DEBUG: io-channel-basic: ...from 10: IN
685s # GLib-DEBUG: io-channel-basic: ...from 10: 539 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 10: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+381 bytes to 13
685s # GLib-DEBUG: io-channel-basic: ...from 12: IN
685s # GLib-DEBUG: io-channel-basic: ...from 12: 381 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 12: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+4185 bytes to 15
685s # GLib-DEBUG: io-channel-basic: ...from 14: IN
685s # GLib-DEBUG: io-channel-basic: ...from 14: 4185 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 14: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+3279 bytes to 17
685s # GLib-DEBUG: io-channel-basic: ...from 16: IN
685s # GLib-DEBUG: io-channel-basic: ...from 16: 3279 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 16: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+4001 bytes to 9
685s # GLib-DEBUG: io-channel-basic: ...from 8: IN
685s # GLib-DEBUG: io-channel-basic: ...from 8: 4001 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 8: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+3210 bytes to 11
685s # GLib-DEBUG: io-channel-basic: ...from 10: IN
685s # GLib-DEBUG: io-channel-basic: ...from 10: 3210 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 10: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+2327 bytes to 13
685s # GLib-DEBUG: io-channel-basic: ...from 12: IN
685s # GLib-DEBUG: io-channel-basic: ...from 12: 2327 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 12: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+4394 bytes to 17
685s # GLib-DEBUG: io-channel-basic: ...from 16: IN
685s # GLib-DEBUG: io-channel-basic: ...from 16: 4394 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 16: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+1865 bytes to 9
685s # GLib-DEBUG: io-channel-basic: ...from 8: IN
685s # GLib-DEBUG: io-channel-basic: ...from 8: 1865 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 8: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+3673 bytes to 15
685s # GLib-DEBUG: io-channel-basic: ...from 14: IN
685s # GLib-DEBUG: io-channel-basic: ...from 14: 3673 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 14: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+2639 bytes to 11
685s # GLib-DEBUG: io-channel-basic: ...from 10: IN
685s # GLib-DEBUG: io-channel-basic: ...from 10: 2639 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 10: OK
685s # GLib-DEBUG: io-channel-basic: child writing 8+3270 bytes to 13
685s # GLib-DEBUG: io-channel-basic: ...from 12: IN
685s # GLib-DEBUG: io-channel-basic: ...from 12: 3270 bytes
685s # GLib-DEBUG: io-channel-basic: ...from 12: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2883 bytes to 9
686s # GLib-DEBUG: io-channel-basic: ...from 8: IN
686s # GLib-DEBUG: io-channel-basic: ...from 8: 2883 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 8: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2686 bytes to 15
686s # GLib-DEBUG: io-channel-basic: ...from 14: IN
686s # GLib-DEBUG: io-channel-basic: ...from 14: 2686 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 14: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+3444 bytes to 17
686s # GLib-DEBUG: io-channel-basic: ...from 16: IN
686s # GLib-DEBUG: io-channel-basic: ...from 16: 3444 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 16: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2556 bytes to 11
686s # GLib-DEBUG: io-channel-basic: ...from 10: IN
686s # GLib-DEBUG: io-channel-basic: ...from 10: 2556 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 10: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2143 bytes to 13
686s # GLib-DEBUG: io-channel-basic: ...from 12: IN
686s # GLib-DEBUG: io-channel-basic: ...from 12: 2143 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 12: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+1746 bytes to 15
686s # GLib-DEBUG: io-channel-basic: ...from 14: IN
686s # GLib-DEBUG: io-channel-basic: ...from 14: 1746 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 14: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+3273 bytes to 9
686s # GLib-DEBUG: io-channel-basic: ...from 8: IN
686s # GLib-DEBUG: io-channel-basic: ...from 8: 3273 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 8: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2786 bytes to 17
686s # GLib-DEBUG: io-channel-basic: ...from 16: IN
686s # GLib-DEBUG: io-channel-basic: ...from 16: 2786 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 16: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+1216 bytes to 11
686s # GLib-DEBUG: io-channel-basic: ...from 10: IN
686s # GLib-DEBUG: io-channel-basic: ...from 10: 1216 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 10: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+1802 bytes to 13
686s # GLib-DEBUG: io-channel-basic: ...from 12: IN
686s # GLib-DEBUG: io-channel-basic: ...from 12: 1802 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 12: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2735 bytes to 15
686s # GLib-DEBUG: io-channel-basic: ...from 14: IN
686s # GLib-DEBUG: io-channel-basic: ...from 14: 2735 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 14: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+4641 bytes to 17
686s # GLib-DEBUG: io-channel-basic: ...from 16: IN
686s # GLib-DEBUG: io-channel-basic: ...from 16: 4641 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 16: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+296 bytes to 9
686s # GLib-DEBUG: io-channel-basic: ...from 8: IN
686s # GLib-DEBUG: io-channel-basic: ...from 8: 296 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 8: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+531 bytes to 11
686s # GLib-DEBUG: io-channel-basic: ...from 10: IN
686s # GLib-DEBUG: io-channel-basic: ...from 10: 531 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 10: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+695 bytes to 13
686s # GLib-DEBUG: io-channel-basic: ...from 12: IN
686s # GLib-DEBUG: io-channel-basic: ...from 12: 695 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 12: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+4168 bytes to 15
686s # GLib-DEBUG: io-channel-basic: ...from 14: IN
686s # GLib-DEBUG: io-channel-basic: ...from 14: 4168 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 14: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+2176 bytes to 17
686s # GLib-DEBUG: io-channel-basic: ...from 16: IN
686s # GLib-DEBUG: io-channel-basic: ...from 16: 2176 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 16: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+4154 bytes to 9
686s # GLib-DEBUG: io-channel-basic: ...from 8: IN
686s # GLib-DEBUG: io-channel-basic: ...from 8: 4154 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 8: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+3296 bytes to 13
686s # GLib-DEBUG: io-channel-basic: ...from 12: IN
686s # GLib-DEBUG: io-channel-basic: ...from 12: 3296 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 12: OK
686s # GLib-DEBUG: io-channel-basic: child writing 8+4357 bytes to 11
686s # GLib-DEBUG: io-channel-basic: ...from 10: IN
686s # GLib-DEBUG: io-channel-basic: ...from 10: 4357 bytes
686s # GLib-DEBUG: io-channel-basic: ...from 10: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+1472 bytes to 15
687s # GLib-DEBUG: io-channel-basic: ...from 14: IN
687s # GLib-DEBUG: io-channel-basic: ...from 14: 1472 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 14: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+2285 bytes to 9
687s # GLib-DEBUG: io-channel-basic: ...from 8: IN
687s # GLib-DEBUG: io-channel-basic: ...from 8: 2285 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 8: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+1768 bytes to 17
687s # GLib-DEBUG: io-channel-basic: ...from 16: IN
687s # GLib-DEBUG: io-channel-basic: ...from 16: 1768 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 16: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+27 bytes to 13
687s # GLib-DEBUG: io-channel-basic: ...from 12: IN
687s # GLib-DEBUG: io-channel-basic: ...from 12: 27 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 12: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+2667 bytes to 11
687s # GLib-DEBUG: io-channel-basic: ...from 10: IN
687s # GLib-DEBUG: io-channel-basic: ...from 10: 2667 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 10: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+3158 bytes to 15
687s # GLib-DEBUG: io-channel-basic: ...from 14: IN
687s # GLib-DEBUG: io-channel-basic: ...from 14: 3158 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 14: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4456 bytes to 9
687s # GLib-DEBUG: io-channel-basic: ...from 8: IN
687s # GLib-DEBUG: io-channel-basic: ...from 8: 4456 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 8: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4407 bytes to 17
687s # GLib-DEBUG: io-channel-basic: ...from 16: IN
687s # GLib-DEBUG: io-channel-basic: ...from 16: 4407 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 16: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+632 bytes to 13
687s # GLib-DEBUG: io-channel-basic: ...from 12: IN
687s # GLib-DEBUG: io-channel-basic: ...from 12: 632 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 12: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+3435 bytes to 11
687s # GLib-DEBUG: io-channel-basic: ...from 10: IN
687s # GLib-DEBUG: io-channel-basic: ...from 10: 3435 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 10: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+3839 bytes to 15
687s # GLib-DEBUG: io-channel-basic: ...from 14: IN
687s # GLib-DEBUG: io-channel-basic: ...from 14: 3839 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 14: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4474 bytes to 17
687s # GLib-DEBUG: io-channel-basic: ...from 16: IN
687s # GLib-DEBUG: io-channel-basic: ...from 16: 4474 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 16: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+3988 bytes to 9
687s # GLib-DEBUG: io-channel-basic: ...from 8: IN
687s # GLib-DEBUG: io-channel-basic: ...from 8: 3988 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 8: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4150 bytes to 13
687s # GLib-DEBUG: io-channel-basic: ...from 12: IN
687s # GLib-DEBUG: io-channel-basic: ...from 12: 4150 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 12: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4780 bytes to 11
687s # GLib-DEBUG: io-channel-basic: ...from 10: IN
687s # GLib-DEBUG: io-channel-basic: ...from 10: 4780 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 10: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+4922 bytes to 15
687s # GLib-DEBUG: io-channel-basic: ...from 14: IN
687s # GLib-DEBUG: io-channel-basic: ...from 14: 4922 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 14: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+1243 bytes to 9
687s # GLib-DEBUG: io-channel-basic: ...from 8: IN
687s # GLib-DEBUG: io-channel-basic: ...from 8: 1243 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 8: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+1015 bytes to 17
687s # GLib-DEBUG: io-channel-basic: ...from 16: IN
687s # GLib-DEBUG: io-channel-basic: ...from 16: 1015 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 16: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+590 bytes to 13
687s # GLib-DEBUG: io-channel-basic: ...from 12: IN
687s # GLib-DEBUG: io-channel-basic: ...from 12: 590 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 12: OK
687s # GLib-DEBUG: io-channel-basic: child writing 8+1668 bytes to 11
687s # GLib-DEBUG: io-channel-basic: ...from 10: IN
687s # GLib-DEBUG: io-channel-basic: ...from 10: 1668 bytes
687s # GLib-DEBUG: io-channel-basic: ...from 10: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+1979 bytes to 9
688s # GLib-DEBUG: io-channel-basic: ...from 8: IN
688s # GLib-DEBUG: io-channel-basic: ...from 8: 1979 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 8: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4747 bytes to 15
688s # GLib-DEBUG: io-channel-basic: ...from 14: IN
688s # GLib-DEBUG: io-channel-basic: ...from 14: 4747 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 14: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4027 bytes to 17
688s # GLib-DEBUG: io-channel-basic: ...from 16: IN
688s # GLib-DEBUG: io-channel-basic: ...from 16: 4027 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 16: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+549 bytes to 13
688s # GLib-DEBUG: io-channel-basic: ...from 12: IN
688s # GLib-DEBUG: io-channel-basic: ...from 12: 549 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 12: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+587 bytes to 11
688s # GLib-DEBUG: io-channel-basic: ...from 10: IN
688s # GLib-DEBUG: io-channel-basic: ...from 10: 587 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 10: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+314 bytes to 15
688s # GLib-DEBUG: io-channel-basic: ...from 14: IN
688s # GLib-DEBUG: io-channel-basic: ...from 14: 314 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 14: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4732 bytes to 9
688s # GLib-DEBUG: io-channel-basic: ...from 8: IN
688s # GLib-DEBUG: io-channel-basic: ...from 8: 4732 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 8: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4940 bytes to 17
688s # GLib-DEBUG: io-channel-basic: ...from 16: IN
688s # GLib-DEBUG: io-channel-basic: ...from 16: 4940 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 16: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+2325 bytes to 13
688s # GLib-DEBUG: io-channel-basic: ...from 12: IN
688s # GLib-DEBUG: io-channel-basic: ...from 12: 2325 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 12: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+1060 bytes to 11
688s # GLib-DEBUG: io-channel-basic: ...from 10: IN
688s # GLib-DEBUG: io-channel-basic: ...from 10: 1060 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 10: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+115 bytes to 9
688s # GLib-DEBUG: io-channel-basic: ...from 8: IN
688s # GLib-DEBUG: io-channel-basic: ...from 8: 115 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 8: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+246 bytes to 15
688s # GLib-DEBUG: io-channel-basic: ...from 14: IN
688s # GLib-DEBUG: io-channel-basic: ...from 14: 246 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 14: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+940 bytes to 17
688s # GLib-DEBUG: io-channel-basic: ...from 16: IN
688s # GLib-DEBUG: io-channel-basic: ...from 16: 940 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 16: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+661 bytes to 13
688s # GLib-DEBUG: io-channel-basic: ...from 12: IN
688s # GLib-DEBUG: io-channel-basic: ...from 12: 661 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 12: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+819 bytes to 11
688s # GLib-DEBUG: io-channel-basic: ...from 10: IN
688s # GLib-DEBUG: io-channel-basic: ...from 10: 819 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 10: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4739 bytes to 9
688s # GLib-DEBUG: io-channel-basic: ...from 8: IN
688s # GLib-DEBUG: io-channel-basic: ...from 8: 4739 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 8: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+3997 bytes to 15
688s # GLib-DEBUG: io-channel-basic: ...from 14: IN
688s # GLib-DEBUG: io-channel-basic: ...from 14: 3997 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 14: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+2563 bytes to 17
688s # GLib-DEBUG: io-channel-basic: ...from 16: IN
688s # GLib-DEBUG: io-channel-basic: ...from 16: 2563 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 16: OK
688s # GLib-DEBUG: io-channel-basic: child writing 8+4850 bytes to 13
688s # GLib-DEBUG: io-channel-basic: ...from 12: IN
688s # GLib-DEBUG: io-channel-basic: ...from 12: 4850 bytes
688s # GLib-DEBUG: io-channel-basic: ...from 12: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+4175 bytes to 11
689s # GLib-DEBUG: io-channel-basic: ...from 10: IN
689s # GLib-DEBUG: io-channel-basic: ...from 10: 4175 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 10: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+2229 bytes to 9
689s # GLib-DEBUG: io-channel-basic: ...from 8: IN
689s # GLib-DEBUG: io-channel-basic: ...from 8: 2229 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 8: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+1950 bytes to 15
689s # GLib-DEBUG: io-channel-basic: ...from 14: IN
689s # GLib-DEBUG: io-channel-basic: ...from 14: 1950 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 14: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+2805 bytes to 17
689s # GLib-DEBUG: io-channel-basic: ...from 16: IN
689s # GLib-DEBUG: io-channel-basic: ...from 16: 2805 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 16: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+3481 bytes to 11
689s # GLib-DEBUG: io-channel-basic: ...from 10: IN
689s # GLib-DEBUG: io-channel-basic: ...from 10: 3481 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 10: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+862 bytes to 13
689s # GLib-DEBUG: io-channel-basic: ...from 12: IN
689s # GLib-DEBUG: io-channel-basic: ...from 12: 862 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 12: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+228 bytes to 9
689s # GLib-DEBUG: io-channel-basic: ...from 8: IN
689s # GLib-DEBUG: io-channel-basic: ...from 8: 228 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 8: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+1008 bytes to 15
689s # GLib-DEBUG: io-channel-basic: child exiting, closing 15
689s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN
689s # GLib-DEBUG: io-channel-basic: ...from 14: 1008 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 14: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+3005 bytes to 17
689s # GLib-DEBUG: io-channel-basic: ...from 16: IN
689s # GLib-DEBUG: io-channel-basic: ...from 16: 3005 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 16: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+260 bytes to 11
689s # GLib-DEBUG: io-channel-basic: ...from 10: IN
689s # GLib-DEBUG: io-channel-basic: ...from 10: 260 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 10: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+1199 bytes to 13
689s # GLib-DEBUG: io-channel-basic: ...from 12: IN
689s # GLib-DEBUG: io-channel-basic: ...from 12: 1199 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 12: OK
689s # Executing: glib/io-channel-basic.test
689s # GLib-DEBUG: io-channel-basic: child writing 8+4818 bytes to 9
689s # GLib-DEBUG: io-channel-basic: ...from 8: IN
689s # GLib-DEBUG: io-channel-basic: ...from 8: 4818 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 8: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+3420 bytes to 17
689s # GLib-DEBUG: io-channel-basic: child exiting, closing 17
689s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN
689s # GLib-DEBUG: io-channel-basic: ...from 16: 3420 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 16: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+4854 bytes to 13
689s # GLib-DEBUG: io-channel-basic: child exiting, closing 13
689s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN
689s # GLib-DEBUG: io-channel-basic: ...from 12: 4854 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 12: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+3551 bytes to 11
689s # GLib-DEBUG: io-channel-basic: ...from 10: IN
689s # GLib-DEBUG: io-channel-basic: ...from 10: 3551 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 10: OK
689s # GLib-DEBUG: io-channel-basic: child writing 8+969 bytes to 9
689s # GLib-DEBUG: io-channel-basic: ...from 8: IN
689s # GLib-DEBUG: io-channel-basic: ...from 8: 969 bytes
689s # GLib-DEBUG: io-channel-basic: ...from 8: OK
690s # GLib-DEBUG: io-channel-basic: child writing 8+4733 bytes to 11
690s # GLib-DEBUG: io-channel-basic: child exiting, closing 11
690s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN
690s # GLib-DEBUG: io-channel-basic: ...from 10: 4733 bytes
690s # GLib-DEBUG: io-channel-basic: ...from 10: OK
690s # GLib-DEBUG: io-channel-basic: child writing 8+1199 bytes to 9
690s # GLib-DEBUG: io-channel-basic: child exiting, closing 9
690s ok - glib/io-channel-basic.test
690s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN
690s # GLib-DEBUG: io-channel-basic: ...from 8: 1199 bytes
690s # GLib-DEBUG: io-channel-basic: ...from 8: OK
690s ok 1 /gio/io-basics
690s # slow test /gio/io-basics executed in 12.20 secs
690s # End of gio tests
690s # Running test: glib/list.test
690s TAP version 14
690s # random seed: R02S88d22ccf47470b0068404e6ccff9b854
690s 1..20
690s # Start of list tests
690s ok 1 /list/sort
690s ok 2 /list/sort-with-data
690s ok 3 /list/insert-before-link
690s ok 4 /list/insert-sorted
690s ok 5 /list/insert-sorted-with-data
690s ok 6 /list/reverse
690s ok 7 /list/nth
690s ok 8 /list/concat
690s ok 9 /list/remove
690s ok 10 /list/remove-all
690s ok 11 /list/first-last
690s ok 12 /list/insert
690s ok 13 /list/free-full
690s ok 14 /list/copy
690s ok 15 /list/copy-deep
690s ok 16 /list/delete-link
690s ok 17 /list/prepend
690s ok 18 /list/position
690s ok 19 /list/double-free
690s # Start of sort tests
690s ok 20 /list/sort/stable
690s # End of sort tests
690s # End of list tests
690s ok - glib/list.test
690s # Running test: glib/dataset.test
690s TAP version 14
690s # random seed: R02Sa4088cb508aed487929bf68903335837
690s 1..15
690s # Start of quark tests
690s ok 1 /quark/basic
690s ok 2 /quark/string
690s # End of quark tests
690s # Start of dataset tests
690s ok 3 /dataset/basic
690s ok 4 /dataset/id
690s ok - glib/dataset.test
690s # Running test: glib/signals-refcount4.test
690s ok 5 /dataset/full
690s ok 6 /dataset/foreach
690s ok 7 /dataset/destroy
690s # End of dataset tests
690s # Start of datalist tests
690s ok 8 /datalist/id
690s ok 9 /datalist/recursive-clear
690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
690s ok 10 /datalist/id-remove-multiple
690s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
690s ok 11 /datalist/id-remove-multiple-destroy-order
690s ok 12 /datalist/update-atomic
690s # Start of basic tests
690s ok 13 /datalist/basic/few
690s ok 14 /datalist/basic/many
690s # End of basic tests
690s # Start of id-remove-multiple tests
690s ok 15 /datalist/id-remove-multiple/resize
690s # End of id-remove-multiple tests
690s # End of datalist tests
690s TAP version 14
690s # random seed: R02S09c7b9683bb83ac5caccf5997eacb148
690s 1..1
690s # Start of gobject tests
690s # Start of refcount tests
690s # init 0xc95c971734b0
690s #
690s # init 0xc95c9716b580
690s #
694s # Executing: glib/signals-refcount4.test
695s # dispose 0xc95c971734b0!
695s #
695s # dispose 0xc95c9716b580!
695s #
695s ok 1 /gobject/refcount/signals
695s # slow test /gobject/refcount/signals executed in 5.00 secs
695s # End of refcount tests
695s # End of gobject tests
695s ok - glib/signals-refcount4.test
695s # Running test: glib/string.test
695s TAP version 14
695s # random seed: R02S504e0940263d96f71ba08ca1ca17ae9a
695s 1..25
695s # Start of string tests
695s ok 1 /string/chunks
695s ok 2 /string/chunk-insert
695s ok 3 /string/new
695s ok 4 /string/printf
695s ok 5 /string/assign
695s ok 6 /string/append-c
695s ok 7 /string/append
695s ok 8 /string/append-vprintf
695s ok 9 /string/prepend-c
695s ok 10 /string/prepend
695s ok 11 /string/insert
695s ok 12 /string/insert-unichar
695s ok 13 /string/equal
695s ok 14 /string/truncate
695s ok 15 /string/overwrite
695s ok 16 /string/nul-handling
695s ok 17 /string/up-down
695s ok 18 /string/set-size
695s ok 19 /string/to-bytes
695s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
695s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
695s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
695s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
695s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
695s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
695s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
695s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
695s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
695s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
695s # 5: Replacing "o" with "" (limit 0) in "food for foals"
695s # -> 4 replacements, "fd fr fals"
695s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
695s # -> 3 replacements, "aaaaaaaaa"
695s # 7: Replacing "a" with "" (limit 0) in "aaa"
695s # -> 3 replacements, ""
695s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
695s # -> 1 replacements, "bba"
695s # 9: Replacing "" with "bar" (limit 0) in "foo"
695s # -> 4 replacements, "barfbarobarobar"
695s # 10: Replacing "" with "bar" (limit 1) in "foo"
695s # -> 1 replacements, "barfoo"
695s # 11: Replacing "" with "bar" (limit 2) in "foo"
695s # -> 2 replacements, "barfbaroo"
695s # 12: Replacing "" with "bar" (limit 3) in "foo"
695s # -> 3 replacements, "barfbarobaro"
695s # 13: Replacing "" with "bar" (limit 4) in "foo"
695s # -> 4 replacements, "barfbarobarobar"
695s # 14: Replacing "" with "bar" (limit 5) in "foo"
695s # -> 4 replacements, "barfbarobarobar"
695s # 15: Replacing "" with "x" (limit 0) in ""
695s # -> 1 replacements, "x"
695s # 16: Replacing "" with "" (limit 0) in ""
695s # -> 1 replacements, ""
695s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb"
695s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa"
695s ok 20 /string/replace
695s ok 21 /string/steal
695s ok 22 /string/new-take
695s ok 23 /string/copy
695s ok - glib/string.test
695s # Running test: glib/repository.test
695s ok 24 /string/sized-new
695s # Start of new-take tests
695s ok 25 /string/new-take/null
695s # End of new-take tests
695s # End of string tests
695s TAP version 14
695s # random seed: R02S69194bc63a2d4a3d8329cd8ce784275e
695s 1..24
695s # Start of repository tests
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/basic/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/basic/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/basic/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/basic/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/basic/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/basic/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/basic/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/basic/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/basic/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/basic/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
695s ok 1 /repository/basic
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/info/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/info/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/info/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/info/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/info/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/info/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/info/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/info/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/info/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/info/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/info summary: Test retrieving some basic info blobs from a typelib
695s ok 2 /repository/info
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/dependencies/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/dependencies/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/dependencies/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
695s ok 3 /repository/dependencies
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/arg-info/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/arg-info/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/arg-info/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
695s ok 4 /repository/arg-info
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/callable-info/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/callable-info/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/callable-info/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
695s ok 5 /repository/callable-info
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/callback-info/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/callback-info/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/callback-info/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
695s ok 6 /repository/callback-info
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/char-types/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/char-types/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/char-types/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
695s ok 7 /repository/char-types
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/constructor-return-type/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
695s ok 8 /repository/constructor-return-type
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/enum-info-c-identifier/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
695s ok 9 /repository/enum-info-c-identifier
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/enum-info-static-methods/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/enum-info-static-methods summary: Test an enum with methods
695s ok 10 /repository/enum-info-static-methods
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/error-quark/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/error-quark/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/error-quark/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/error-quark summary: Test finding an error quark by error domain
695s ok 11 /repository/error-quark
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/flags-info-c-identifier/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
695s ok 12 /repository/flags-info-c-identifier
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/fundamental-ref-func/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
695s ok 13 /repository/fundamental-ref-func
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/instance-method-ownership-transfer/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
695s ok 14 /repository/instance-method-ownership-transfer
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/object-gtype-interfaces/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
695s ok 15 /repository/object-gtype-interfaces
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/signal-info-with-array-length-arg/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
695s ok 16 /repository/signal-info-with-array-length-arg
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/type-info-name/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
695s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
695s ok 17 /repository/type-info-name
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-no-invoker/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
695s ok 18 /repository/vfunc-info-with-no-invoker
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
695s ok 19 /repository/vfunc-info-with-invoker-on-interface
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
695s ok 20 /repository/vfunc-info-with-invoker-on-object
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/find-by-gtype/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/find-by-gtype summary: Test finding a GType
695s ok 21 /repository/find-by-gtype
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/system-config2
695s ok - glib/repository.test
695s # Running test: glib/autoptr-gio.test
695s ok - glib/autoptr-gio.test
695s # Running test: glib/cxx-14.test
695s ok - glib/cxx-14.test
695s # Running test: glib/gdbus-connection-flush.test
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/loaded-namespaces/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/loaded-namespaces summary: Test listing loaded namespaces
695s ok 22 /repository/loaded-namespaces
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/dup_default/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/dup_default/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/dup_default/.dirs/runtime
695s ok 23 /repository/dup_default
695s # Start of base-info tests
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_NH0KK3/repository/base-info/clear/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
695s ok 24 /repository/base-info/clear
695s # End of base-info tests
695s # End of repository tests
695s TAP version 14
695s # random seed: R02S60b2599e631290044c05d5d0f00a8c94
695s 1..1
695s # Start of autoptr tests
695s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
695s ok 1 /autoptr/autoptr
695s # End of autoptr tests
695s TAP version 14
695s # random seed: R02Sb7c8d4d21fcc6066ab2cd71040cd0242
695s 1..2
695s # Start of gtask tests
695s # 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.
695s ok 1 /gtask/name
695s # Start of name tests
695s # 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.
695s ok 2 /gtask/name/macro-wrapper
695s # End of name tests
695s # End of gtask tests
695s TAP version 14
695s # random seed: R02Sb11155bf897defd91fa5b2567cfda41a
695s 1..2
695s # Start of gdbus tests
695s # Start of connection tests
695s # Start of flush tests
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/busy/.dirs/runtime
695s ok 1 /gdbus/connection/flush/busy
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/cache
695s ok - glib/gdbus-connection-flush.test
695s # Running test: glib/async-splice-output-stream.test
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_C5L6J3/gdbus/connection/flush/idle/.dirs/runtime
695s ok 2 /gdbus/connection/flush/idle
695s # End of flush tests
695s # End of connection tests
695s # End of gdbus tests
695s TAP version 14
695s # random seed: R02Sfedff32cd1662f099581baa7dedcb532
695s 1..5
695s # Start of async-splice tests
695s ok 1 /async-splice/copy-chunks
695s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
695s ok 2 /async-splice/copy-chunks-threaded-input
695s ok 3 /async-splice/copy-chunks-threaded-output
695s ok 4 /async-splice/copy-chunks-threaded
695s ok 5 /async-splice/cancelled
695s # End of async-splice tests
695s ok - glib/async-splice-output-stream.test
695s # Running test: glib/gapplication.test
695s TAP version 14
695s # random seed: R02S7085966eb99d32cfac709e99b2c14e47
695s 1..25
695s # Start of gapplication tests
695s ok 1 /gapplication/no-dbus
695s ok 2 /gapplication/no-appid
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 3 /gapplication/properties
695s ok 4 /gapplication/app-id
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 5 /gapplication/quit
695s ok 6 /gapplication/registered
695s ok 7 /gapplication/local-actions
695s ok 8 /gapplication/local-command-line
695s ok 9 /gapplication/resource-path
695s ok 10 /gapplication/test-help
695s ok 11 /gapplication/command-line-done
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 12 /gapplication/test-busy
695s ok 13 /gapplication/test-handle-local-options1
695s ok 14 /gapplication/test-handle-local-options2
695s ok 15 /gapplication/test-handle-local-options3
695s ok 16 /gapplication/api
695s ok 17 /gapplication/version
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # launching subprocess
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 18 /gapplication/replace
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # launching subprocess
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 19 /gapplication/no-replace
695s # slow test /gapplication/no-replace executed in 0.51 secs
695s # Start of command-line tests
695s # /gapplication/command-line/arguments summary: Test HANDLES_COMMAND_LINE locally with a ->local_command_line vfunc which forces g_application_run() to take a fallback error handling path
695s ok 20 /gapplication/command-line/arguments
695s # End of command-line tests
695s # Start of dbus tests
695s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # Message 0
695s # Message 1
695s # Message 2
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 21 /gapplication/dbus/activate
695s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # Message 0
695s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
695s # Message 1
695s # Message 2
695s # Message 3
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 22 /gapplication/dbus/open
695s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # Message 0
695s # Message 1
695s # Message 2
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 23 /gapplication/dbus/command-line
695s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 24 /gapplication/dbus/command-line-done
695s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
695s # Message 0
695s # Message 1
695s # Message 2
695s # Message 3
695s # Message 4
695s # Message 5
695s # Message 6
695s # Message 7
695s # Message 8
695s # Message 9
695s # Message 10
695s # Message 11
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
695s ok 25 /gapplication/dbus/activate-action
695s # End of dbus tests
695s # End of gapplication tests
695s ok - glib/gapplication.test
695s # Running test: glib/union-info.test
695s TAP version 14
695s # random seed: R02S598da4b3121f74512ba86abf133cdc64
695s 1..2
695s # Start of union-info tests
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/cache
695s ok - glib/union-info.test
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/system-config1:/tmp/test_union-info_27OJK3/union-info/basic/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/system-data1:/tmp/test_union-info_27OJK3/union-info/basic/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_27OJK3/union-info/basic/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /union-info/basic summary: Test basic properties of GIUnionInfo
695s ok 1 /union-info/basic
695s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/home
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/cache
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/system-config1:/tmp/test_union-info_27OJK3/union-info/methods/.dirs/system-config2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/config
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/system-data1:/tmp/test_union-info_27OJK3/union-info/methods/.dirs/system-data2
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/data
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/state
695s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_27OJK3/union-info/methods/.dirs/runtime
695s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
695s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
695s ok 2 /union-info/methods
695s # End of union-info tests
695s # Running test: glib/signals-refcount3.test
695s TAP version 14
695s # random seed: R02S148839ef55a530f643c379d9a2564558
695s 1..1
695s # Start of gobject tests
695s # Start of refcount tests
695s # init 0xc7ce2b5554b0
695s #
695s # init 0xc7ce2b54d580
695s #
699s # Executing: glib/signals-refcount3.test
700s # dispose 0xc7ce2b5554b0!
700s #
700s # dispose 0xc7ce2b54d580!
700s #
700s ok 1 /gobject/refcount/signals
700s # slow test /gobject/refcount/signals executed in 5.00 secs
700s # End of refcount tests
700s # End of gobject tests
700s ok - glib/signals-refcount3.test
700s # Running test: glib/gdbus-exit-on-close.test
700s TAP version 14
700s # random seed: R02Se435031d5d397f3295352da5db56b351
700s 1..4
700s # Start of gdbus tests
700s # Start of exit-on-close tests
700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/home
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/cache
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/system-config2
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/config
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/system-data2
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/data
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/state
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/default/.dirs/runtime
700s ok 1 /gdbus/exit-on-close/default
700s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/home
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/cache
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/system-config2
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/config
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/system-data2
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/data
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/state
700s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/true/.dirs/runtime
701s ok 2 /gdbus/exit-on-close/true
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/false/.dirs/runtime
701s ok 3 /gdbus/exit-on-close/false
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_YW8EK3/gdbus/exit-on-close/we-close/.dirs/runtime
701s ok - glib/gdbus-exit-on-close.test
701s ok 4 /gdbus/exit-on-close/we-close
701s # Start of default tests
701s # End of default tests
701s # Start of true tests
701s # End of true tests
701s # Start of false tests
701s # End of false tests
701s # Start of we-close tests
701s # End of we-close tests
701s # End of exit-on-close tests
701s # End of gdbus tests
701s # Running test: glib/markup-subparser.test
701s TAP version 14
701s # random seed: R02Sf55dd82561f61d8d7c448512ed46852d
701s 1..14
701s # Start of glib tests
701s # Start of markup tests
701s # Start of subparser tests
701s # Start of success tests
701s ok 1 /glib/markup/subparser/success/0
701s ok 2 /glib/markup/subparser/success/1
701s ok 3 /glib/markup/subparser/success/2
701s ok 4 /glib/markup/subparser/success/3
701s ok 5 /glib/markup/subparser/success/4
701s ok 6 /glib/markup/subparser/success/5
701s ok 7 /glib/markup/subparser/success/6
701s # End of success tests
701s # Start of failure tests
701s ok 8 /glib/markup/subparser/failure/0
701s ok 9 /glib/markup/subparser/failure/1
701s ok 10 /glib/markup/subparser/failure/2
701s ok 11 /glib/markup/subparser/failure/3
701s ok 12 /glib/markup/subparser/failure/4
701s ok 13 /glib/markup/subparser/failure/5
701s ok 14 /glib/markup/subparser/failure/6
701s # End of failure tests
701s # End of subparser tests
701s # End of markup tests
701s # End of glib tests
701s ok - glib/markup-subparser.test
701s # Running test: glib/option-context.test
701s TAP version 14
701s # random seed: R02Se42f04c4ab8571c7d8ffb451b94b5a23
701s 1..61
701s # Start of option tests
701s ok 1 /option/basic
701s ok 2 /option/translate
701s ok 3 /option/strict-posix
701s # Testing command: program --double abc
701s # Testing command: program --double 2e309
701s # Testing command: program --int abc
701s # Testing command: program --int 99999999999999999999999999999999999
701s # Testing command: program --int64 abc
701s # Testing command: program --int64 99999999999999999999999999999999999
701s ok 4 /option/parsing-errors
701s # Start of help tests
701s ok 5 /option/help/options
701s ok 6 /option/help/no-options
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652
701s ok 7 /option/help/no-help-options
701s # Usage:
701s # /usr/libexec/installed-tests/glib/option-context [OPTION…] blabla
701s #
701s # Summary
701s #
701s # Help Options:
701s # -h, --help Show help options
701s #
701s # Application Options:
701s # -t, --test=Argument to use in test (deprecated) Test tests
701s # --test2 Tests also
701s #
701s # Description
701s #
701s ok 8 /option/help/deprecated
701s ok 9 /option/help/main-get_help-format
701s ok 10 /option/help/group-get_help-format
701s # End of help tests
701s # Start of group tests
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142
701s ok 11 /option/group/captions
701s ok 12 /option/group/main
701s ok 13 /option/group/error-hook
701s ok 14 /option/group/parse
701s # Start of captions tests
701s # Start of subprocess tests
701s # End of subprocess tests
701s # End of captions tests
701s # End of group tests
701s # Start of restoration tests
701s ok 15 /option/restoration/int
701s ok 16 /option/restoration/string
701s ok 17 /option/restoration/boolean
701s # End of restoration tests
701s # Start of arg tests
701s ok 18 /option/arg/reverse-string
701s ok 19 /option/arg/optional-int
701s # Start of repetition tests
701s ok 20 /option/arg/repetition/int
701s ok 21 /option/arg/repetition/string
701s ok 22 /option/arg/repetition/filename
701s ok 23 /option/arg/repetition/double
701s ok 24 /option/arg/repetition/locale
701s ok 25 /option/arg/repetition/int64
701s # End of repetition tests
701s # Start of array tests
701s ok 26 /option/arg/array/string
701s # End of array tests
701s # Start of callback tests
701s ok 27 /option/arg/callback/string
701s ok 28 /option/arg/callback/count
701s ok 29 /option/arg/callback/optional1
701s ok 30 /option/arg/callback/optional2
701s ok 31 /option/arg/callback/optional3
701s ok 32 /option/arg/callback/optional4
701s ok 33 /option/arg/callback/optional5
701s ok 34 /option/arg/callback/optional6
701s ok 35 /option/arg/callback/optional7
701s ok 36 /option/arg/callback/optional8
701s # End of callback tests
701s # Start of remaining tests
701s ok 37 /option/arg/remaining/callback
701s ok 38 /option/arg/remaining/callback-false
701s ok 39 /option/arg/remaining/non-option
701s ok 40 /option/arg/remaining/separator
701s ok 41 /option/arg/remaining/array
701s # End of remaining tests
701s # Start of ignore tests
701s ok 42 /option/arg/ignore/long
701s ok 43 /option/arg/ignore/short
701s ok 44 /option/arg/ignore/arg
701s # End of ignore tests
701s # Start of rest tests
701s ok 45 /option/arg/rest/non-option
701s ok 46 /option/arg/rest/separator1
701s ok 47 /option/arg/rest/separator2
701s ok 48 /option/arg/rest/separator3
701s ok 49 /option/arg/rest/separator4
701s ok 50 /option/arg/rest/separator5
701s # End of rest tests
701s # End of arg tests
701s # Start of context tests
701s ok 51 /option/context/add
701s ok 52 /option/context/empty2
701s ok 53 /option/context/empty3
701s # End of context tests
701s # Start of bug tests
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609
701s ok 54 /option/bug/unknown-short
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008
701s ok 55 /option/bug/lonely-dash
701s ok 56 /option/bug/triple-dash
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576
701s ok 57 /option/bug/missing-arg
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638
701s ok 58 /option/bug/dash-arg
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563
701s ok 59 /option/bug/short-remaining
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926
701s ok 60 /option/bug/double-free
701s ok 61 /option/bug/double-zero
701s # End of bug tests
701s # End of option tests
701s ok - glib/option-context.test
701s # Running test: glib/atomic.test
701s TAP version 14
701s # random seed: R02S5bf31280c0cf9bd6026ddead0727b7e9
701s 1..2
701s # Start of atomic tests
701s ok 1 /atomic/types
701s ok 2 /atomic/threaded
701s # End of atomic tests
701s ok - glib/atomic.test
701s # Running test: glib/642026.test
701s TAP version 14
701s # random seed: R02S5bac5728ff8bfeadf44a5d5fa0f630d2
701s 1..1
701s # Start of glib tests
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
701s ok 1 /glib/642026
701s # End of glib tests
701s ok - glib/642026.test
701s # Running test: glib/gdbus-method-invocation.test
701s TAP version 14
701s # random seed: R02S6da506703d099b8e38376ab980fc3cf5
701s 1..1
701s # Start of gdbus tests
701s # Start of method-invocation tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_0Q13J3/gdbus/method-invocation/return/.dirs/runtime
701s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
701s # Calling org.freedesktop.DBus.Properties.Get
701s # Calling org.freedesktop.DBus.Properties.Get
701s # Calling org.freedesktop.DBus.Properties.Get
701s # Calling org.freedesktop.DBus.Properties.Set
701s # Calling org.freedesktop.DBus.Properties.GetAll
701s # Calling org.example.Foo.WrongReturnType
701s # Calling org.example.Foo.GetFDs
701s # Calling org.example.Foo.GetFDs
701s # Calling org.example.Foo.ReturnError
701s # Calling org.example.Foo.CloseBeforeReturning
701s ok 1 /gdbus/method-invocation/return
701s # End of method-invocation tests
701s # End of gdbus tests
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 - glib/gdbus-method-invocation.test
701s # Running test: glib/spawn-path-search.test
701s TAP version 14
701s # random seed: R02S77a1ac89cc48b03e4d4fbd269ae4fa6b
701s 1..7
701s # Start of spawn tests
701s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
701s #
701s # this is spawn-test-helper from glib/tests
701s #
701s ok 1 /spawn/do-not-search
701s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
701s #
701s # this is spawn-test-helper from path-test-subdir
701s #
701s ok 2 /spawn/search-path
701s # /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.
701s #
701s # this is spawn-test-helper from path-test-subdir
701s #
701s ok 3 /spawn/search-path-from-envp
701s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
701s #
701s # this is spawn-test-helper from path-test-subdir
701s #
701s ok 4 /spawn/search-path-ambiguous
701s #
701s # this is spawn-test-helper from path-test-subdir
701s #
701s ok 5 /spawn/search-path-heap-allocation
701s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
701s #
701s # this is spawn-test-helper from glib/tests
701s #
701s ok 6 /spawn/search-path-fallback-in-environ
701s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
701s #
701s # this is spawn-test-helper from glib/tests
701s #
701s ok 7 /spawn/search-path-fallback-in-envp
701s # End of spawn tests
701s ok - glib/spawn-path-search.test
701s # Running test: glib/rcbox.test
701s ok - glib/rcbox.test
701s TAP version 14
701s # random seed: R02Se99c6f6bae04eb83a1fcb3af4831bfb0
701s 1..8
701s # Start of rcbox tests
701s ok 1 /rcbox/new
701s # global_point = 0xab17367d1720
701s ok 2 /rcbox/release-full
701s # global_point_a = 0xab17367d1720
701s # global_point_b = 0xab17367d17f0
701s ok 3 /rcbox/dup
701s ok 4 /rcbox/alignment
701s # End of rcbox tests
701s # Start of atomic-rcbox tests
701s ok 5 /atomic-rcbox/new
701s # global_point = 0xab17367d17f0
701s ok 6 /atomic-rcbox/release-full
701s # global_point_a = 0xab17367d17f0
701s # global_point_b = 0xab17367d1720
701s ok 7 /atomic-rcbox/dup
701s ok 8 /atomic-rcbox/alignment
701s # End of atomic-rcbox tests
701s # Running test: glib/cxx-2b.test
701s ok - glib/cxx-2b.test
701s # Running test: glib/notify-init2.test
701s TAP version 14
701s # random seed: R02S43c7f8cd297d78aa93cfde972af82412
701s 1..2
701s # Start of gtask tests
701s # 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.
701s ok 1 /gtask/name
701s # Start of name tests
701s # 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.
701s ok 2 /gtask/name/macro-wrapper
701s # End of name tests
701s # End of gtask tests
701s TAP version 14
701s # random seed: R02S85dd97dd03c92eabecf1f6921077a209
701s 1..1
701s # Start of properties tests
701s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
701s ok 1 /properties/notify-in-init2
701s # End of properties tests
701s ok - glib/notify-init2.test
701s # Running test: glib/defaultiface.test
701s ok - glib/defaultiface.test
701s TAP version 14
701s # random seed: R02Sa1c8337745d4a9ac39993792f180fdf0
701s 1..2
701s # Start of gobject tests
701s ok 1 /gobject/static-iface
701s ok 2 /gobject/dynamic-iface
701s # End of gobject tests
701s # Running test: glib/bindinggroup.test
701s TAP version 14
701s # random seed: R02S1d320f14c0e44cfcc59597098f53d2bf
701s 1..11
701s # Start of GObject tests
701s # Start of BindingGroup tests
701s ok 1 /GObject/BindingGroup/invalid
701s ok 2 /GObject/BindingGroup/default
701s ok 3 /GObject/BindingGroup/bidirectional
701s ok 4 /GObject/BindingGroup/transform
701s ok 5 /GObject/BindingGroup/transform-closures
701s ok 6 /GObject/BindingGroup/same-object
701s ok 7 /GObject/BindingGroup/weak-ref-source
701s ok 8 /GObject/BindingGroup/weak-ref-target
701s ok 9 /GObject/BindingGroup/properties
701s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
701s ok 11 /GObject/BindingGroup/empty-closures
701s # End of BindingGroup tests
701s # End of GObject tests
701s ok - glib/bindinggroup.test
701s # Running test: glib/keyfile.test
701s TAP version 14
701s # random seed: R02S249f2f1fd4b6545f4affec249c02cd8c
701s 1..36
701s # Start of keyfile tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/line-ends/.dirs/runtime
701s ok 1 /keyfile/line-ends
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/whitespace/.dirs/runtime
701s ok 2 /keyfile/whitespace
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/comments/.dirs/runtime
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
701s ok 3 /keyfile/comments
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/listing/.dirs/runtime
701s ok 4 /keyfile/listing
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/string/.dirs/runtime
701s ok 5 /keyfile/string
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/boolean/.dirs/runtime
701s ok 6 /keyfile/boolean
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/number/.dirs/runtime
701s ok 7 /keyfile/number
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/.dirs/runtime
701s ok 8 /keyfile/locale-string
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/lists/.dirs/runtime
701s ok 9 /keyfile/lists
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/lists-set-get/.dirs/runtime
701s ok 10 /keyfile/lists-set-get
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/group-remove/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
701s ok 11 /keyfile/group-remove
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/key-remove/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
701s ok 12 /keyfile/key-remove
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/groups/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
701s ok 13 /keyfile/groups
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-keys/.dirs/runtime
701s ok 14 /keyfile/duplicate-keys
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
701s ok 15 /keyfile/duplicate-groups
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/duplicate-groups2/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
701s ok 16 /keyfile/duplicate-groups2
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/group-names/.dirs/runtime
701s ok 17 /keyfile/group-names
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/key-names/.dirs/runtime
701s ok 18 /keyfile/key-names
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/reload/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
701s ok 19 /keyfile/reload
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/int64/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864
701s ok 20 /keyfile/int64
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/load/.dirs/runtime
701s ok 21 /keyfile/load
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/save/.dirs/runtime
701s ok 22 /keyfile/save
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/load-fail/.dirs/runtime
701s ok 23 /keyfile/load-fail
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/non-utf8/.dirs/runtime
701s ok 24 /keyfile/non-utf8
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/page-boundary/.dirs/runtime
701s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
701s ok 25 /keyfile/page-boundary
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/ref/.dirs/runtime
701s ok 26 /keyfile/ref
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/replace-value/.dirs/runtime
701s ok 27 /keyfile/replace-value
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/list-separator/.dirs/runtime
701s ok 28 /keyfile/list-separator
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/empty-string/.dirs/runtime
701s ok 29 /keyfile/empty-string
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/limbo/.dirs/runtime
701s ok 30 /keyfile/limbo
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/utf8/.dirs/runtime
701s # Testing invalid encoding ‘non-UTF-8’
701s # Testing invalid encoding ‘UTF’
701s # Testing invalid encoding ‘UTF-9’
701s ok 31 /keyfile/utf8
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/roundtrip/.dirs/runtime
701s ok 32 /keyfile/roundtrip
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/bytes/.dirs/runtime
701s ok 33 /keyfile/bytes
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/get-locale/.dirs/runtime
701s ok 34 /keyfile/get-locale
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/free-when-not-last-ref/.dirs/runtime
701s ok 35 /keyfile/free-when-not-last-ref
701s # Start of locale-string tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_DCJ5J3/keyfile/locale-string/multiple-loads/.dirs/runtime
701s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
701s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
701s ok 36 /keyfile/locale-string/multiple-loads
701s # End of locale-string tests
701s # End of keyfile tests
701s TAP version 14
701s # random seed: R02Seee232a3a7ddb4c478088e3b9ebaceb6
701s 1..24
701s # Start of gdbus tests
701s # Start of subscribe tests
701s # Start of conn tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/simple/.dirs/runtime
701s ok - glib/keyfile.test
701s # Running test: glib/gdbus-subscribe.test
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
701s # Step 0: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
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/subscribe/conn/simple
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/broadcast_from_anyone/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
701s # Step 0: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: service 2
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: service 2
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 1
701s # Signal received from service 2 :1.2
701s # Signal received from service 2 :1.2 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Signal received from service 2 :1.2
701s # Signal received from service 2 :1.2 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
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 2 /gdbus/subscribe/conn/broadcast_from_anyone
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/match_twice/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: (any)
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: (any)
701s # Path: (any)
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 3: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 4: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
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 3 /gdbus/subscribe/conn/match_twice
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
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 4 /gdbus/subscribe/conn/limit_by_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/nonexistent_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
701s # Step 0: adding subscription
701s # Sender: :0.this.had.better.not.exist
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
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 5 /gdbus/subscribe/conn/nonexistent_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_by_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /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
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: org.gtk.Test.OwnedLater
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 3: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 5: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 6: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Step 7: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 5
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
701s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
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 6 /gdbus/subscribe/conn/limit_by_well_known_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/limit_to_message_bus/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
701s # Step 0: adding subscription
701s # Sender: org.freedesktop.DBus
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # String argument 0: would I lie to you?
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Waiting for signal to reach message bus
701s # Step 3: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Signal received from message bus org.freedesktop.DBus
701s # Signal received from (unused) org.freedesktop.DBus via connection
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
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 7 /gdbus/subscribe/conn/limit_to_message_bus
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/conn/unsubscribe_immediately/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Immediately unsubscribing
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
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 8 /gdbus/subscribe/conn/unsubscribe_immediately
701s # End of conn tests
701s # Start of proxy tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/simple/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
701s # Step 0: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
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 9 /gdbus/subscribe/proxy/simple
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/broadcast_from_anyone/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
701s # Step 0: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: service 2
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: service 2
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
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 10 /gdbus/subscribe/proxy/broadcast_from_anyone
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/match_twice/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: (any)
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: (any)
701s # Path: (any)
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 3: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 4: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
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 11 /gdbus/subscribe/proxy/match_twice
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
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 12 /gdbus/subscribe/proxy/limit_by_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/nonexistent_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
701s # Step 0: adding subscription
701s # Sender: :0.this.had.better.not.exist
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
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 13 /gdbus/subscribe/proxy/nonexistent_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_by_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /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
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: org.gtk.Test.OwnedLater
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 3: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 5: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 6: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Step 7: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 5
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
701s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
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 14 /gdbus/subscribe/proxy/limit_by_well_known_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/limit_to_message_bus/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
701s # Step 0: adding subscription
701s # Sender: org.freedesktop.DBus
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # String argument 0: would I lie to you?
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Waiting for signal to reach message bus
701s # Step 3: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Signal received from message bus org.freedesktop.DBus
701s # Signal received from (unused) org.freedesktop.DBus via proxy
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
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 15 /gdbus/subscribe/proxy/limit_to_message_bus
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/proxy/unsubscribe_immediately/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
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 16 /gdbus/subscribe/proxy/unsubscribe_immediately
701s # End of proxy tests
701s # Start of parallel tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/simple/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
701s # Step 0: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
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 17 /gdbus/subscribe/parallel/simple
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/broadcast_from_anyone/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
701s # Step 0: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: service 2
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: service 2
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 1
701s # Signal received from service 2 :1.2
701s # Signal received from service 2 :1.2 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Signal received from service 2 :1.2
701s # Signal received from service 2 :1.2 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
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 18 /gdbus/subscribe/parallel/broadcast_from_anyone
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/match_twice/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: adding subscription
701s # Sender: (any)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: (any)
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: (any)
701s # Path: (any)
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Cannot subscribe via proxy: no bus name
701s # Waiting for AddMatch to be processed
701s # Step 3: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 4: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 4
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
701s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
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 19 /gdbus/subscribe/parallel/match_twice
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
701s # Step 0: adding subscription
701s # Sender: service :1.1
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 3: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 3
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
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 20 /gdbus/subscribe/parallel/limit_by_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/nonexistent_unique_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
701s # Step 0: adding subscription
701s # Sender: :0.this.had.better.not.exist
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
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 21 /gdbus/subscribe/parallel/nonexistent_unique_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_by_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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /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
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 2: adding subscription
701s # Sender: org.gtk.Test.OwnedLater
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 3: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 4: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 5: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Step 6: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Step 7: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 5
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 5
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via connection
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 7
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
701s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
701s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
701s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
701s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
701s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
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 22 /gdbus/subscribe/parallel/limit_by_well_known_name
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/limit_to_message_bus/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
701s # Step 0: adding subscription
701s # Sender: org.freedesktop.DBus
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 1: emitting signal
701s # Sender: attacker
701s # Destination: (broadcast)
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # String argument 0: would I lie to you?
701s # Waiting for signal to reach message bus
701s # Step 2: emitting signal
701s # Sender: attacker
701s # Destination: subscriber :1.0
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Waiting for signal to reach message bus
701s # Step 3: claiming bus name
701s # Name: org.gtk.Test.OwnedLater
701s # Owner: service
701s # Signal received from message bus org.freedesktop.DBus
701s # Signal received from (unused) org.freedesktop.DBus via connection
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Signal received from message bus org.freedesktop.DBus
701s # Signal received from (unused) org.freedesktop.DBus via proxy
701s # Path: /org/freedesktop/DBus
701s # Interface: org.freedesktop.DBus
701s # Member: NameOwnerChanged
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
701s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
701s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
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 23 /gdbus/subscribe/parallel/limit_to_message_bus
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_HX54J3/gdbus/subscribe/parallel/unsubscribe_immediately/.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 # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
701s # subscriber is :1.0
701s # service is :1.1
701s # service 2 is :1.2
701s # attacker is :1.3
701s # Waiting for AddMatch to be processed
701s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
701s # Step 0: claiming bus name
701s # Name: org.gtk.Test.AlreadyOwned
701s # Owner: service
701s # Step 1: adding subscription
701s # Sender: org.gtk.Test.AlreadyOwned
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: (any)
701s # String argument 0: (any)
701s # Flags: 0
701s # Subscribing via connection
701s # Immediately unsubscribing
701s # Subscribing via proxy
701s # Waiting for AddMatch to be processed
701s # Step 2: emitting signal
701s # Sender: service
701s # Destination: (broadcast)
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Waiting for signal to reach message bus
701s ok - glib/gdbus-subscribe.test
701s # Signal received from service :1.1
701s # Signal received from service :1.1 via proxy
701s # Path: /org/gtk/GDBus/ExampleInterface
701s # Interface: org.gtk.GDBus.ExampleInterface
701s # Member: Foo
701s # Argument 0: (not a string)
701s # Sent in step: 2
701s # Received Finished signal from subscriber :1.0
701s # Received Finished signal from service :1.1
701s # Received Finished signal from service 2 :1.2
701s # Received Finished signal from attacker :1.3
701s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
701s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
701s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
701s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
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 24 /gdbus/subscribe/parallel/unsubscribe_immediately
701s # End of parallel tests
701s # End of subscribe tests
701s # End of gdbus tests
701s # Running test: glib/cxx-20.test
701s TAP version 14
701s # random seed: R02S9b069879f956b51f962c98e3f60da1a7
701s 1..2
701s # Start of gtask tests
701s # 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.
701s ok 1 /gtask/name
701s # Start of name tests
701s # 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.
701s ok 2 /gtask/name/macro-wrapper
701s # End of name tests
701s # End of gtask tests
701s ok - glib/cxx-20.test
701s # Running test: glib/dbus-appinfo.test
701s TAP version 14
701s # random seed: R02S50cd3bf1bdaabe1b086151a485b4a444
701s 1..7
701s # Start of appinfo tests
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/runtime
701s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
701s ok 1 /appinfo/dbusappinfo
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/runtime
701s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Documents
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/config
701s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
701s # fake-document-portal cancelled
701s ok 2 /appinfo/flatpak-doc-export
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/runtime
701s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Documents
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/config
701s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
701s # fake-document-portal cancelled
701s ok 3 /appinfo/flatpak-missing-doc-export
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/runtime
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Desktop
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/config
701s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
701s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t
701s # Response emitted
701s # fake-desktop-portal cancelled
701s ok 4 /appinfo/portal-open-file
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/runtime
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Desktop
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/config
701s # Got open file request for http://example.com
701s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t
701s # Response emitted
701s # fake-desktop-portal cancelled
701s ok 5 /appinfo/portal-open-uri
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/runtime
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Desktop
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/config
701s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
701s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio183655509
701s # Response emitted
701s # fake-desktop-portal cancelled
701s ok 6 /appinfo/portal-open-file-async
701s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/home
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/cache
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/system-config2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/config
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/system-data2
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/data
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/state
701s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/runtime
701s # Acquired a message bus connection
701s # Acquired the name org.freedesktop.portal.Desktop
701s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_OMDAK3/appinfo/portal-open-uri-async/.dirs/config
701s # Got open file request for http://example.com
701s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio41718818
701s # Response emitted
701s # fake-desktop-portal cancelled
701s ok 7 /appinfo/portal-open-uri-async
701s # End of appinfo tests
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 - glib/dbus-appinfo.test
701s # Running test: glib/signal-handler.test
701s TAP version 14
701s # random seed: R02S30532bc113206c5882f95a1cf67e8208
701s 1..7
701s # Start of signal tests
701s # Start of handler tests
701s # min perf: connected 1 handlers in 0.000 seconds
701s ok 1 /signal/handler/connect-many
701s # min perf: disconnected 1 handlers in 0.000 seconds
701s ok 2 /signal/handler/disconnect-many-ordered
701s # min perf: disconnected 1 handlers in 0.000 seconds
701s ok 3 /signal/handler/disconnect-many-inverse
701s # min perf: disconnected 1 handlers in 0.000 seconds
701s ok 4 /signal/handler/disconnect-many-random
701s # min perf: disconnected 1 handlers in 0.000 seconds
701s ok 5 /signal/handler/disconnect-2-signals
701s # min perf: disconnected 1 handlers in 0.000 seconds
701s ok 6 /signal/handler/disconnect-2-objects
701s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
701s ok 7 /signal/handler/block-many
701s # End of handler tests
701s # End of signal tests
701s ok - glib/signal-handler.test
701s # Running test: glib/overflow.test
701s TAP version 14
701s # random seed: R02Sc1ba64738aed9260e9ffa1a4ae758825
701s 1..6
701s # Start of glib tests
701s # Start of checked-math tests
701s ok 1 /glib/checked-math/guint-add
701s ok 2 /glib/checked-math/guint-mul
701s ok 3 /glib/checked-math/guint64-add
701s ok 4 /glib/checked-math/guint64-mul
701s ok 5 /glib/checked-math/gsize-add
701s ok 6 /glib/checked-math/gsize-mul
701s # End of checked-math tests
701s # End of glib tests
701s ok - glib/overflow.test
701s # Running test: glib/atomic-c-11.test
701s TAP version 14
701s # random seed: R02S5d8b5c2775e8ad7c50c67ff48f26e6f5
701s 1..2
701s # Start of atomic tests
701s ok 1 /atomic/types
701s ok 2 /atomic/threaded
701s # End of atomic tests
701s ok - glib/atomic-c-11.test
701s # Running test: glib/logging.test
701s TAP version 14
701s # random seed: R02Sf83b97b1cad7adf05acc3b1a3b82c693
701s 1..20
701s # Start of logging tests
702s ok 1 /logging/default-handler
702s ok 2 /logging/journald-handler
702s ok 3 /logging/warnings
702s ok 4 /logging/fatal-log-mask
702s ok 5 /logging/always-fatal
702s # bu-DEBUG: message
702s # ba-DEBUG: message
702s # ba-INFO: message
702s ok 6 /logging/set-handler
702s ok 7 /logging/print-handler
702s ok 8 /logging/printerr-handler
702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
702s # The Log Message Handler
702s #
702s # The Good Fail Message Handler
702s #
702s ok 9 /logging/653052
702s ok 10 /logging/gibberish
702s # Start of default-handler tests
702s # Start of subprocess tests
702s # End of subprocess tests
702s # End of default-handler tests
702s # End of logging tests
702s # Start of structured-logging tests
702s ok 11 /structured-logging/no-state
702s ok 12 /structured-logging/some-state
702s # /structured-logging/recursion-overflow summary: Test that g_log_structured always sets n_fields correctly.
702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3760
702s ok 13 /structured-logging/recursion-overflow
702s ok 14 /structured-logging/robustness
702s ok 15 /structured-logging/roundtrip1
702s ok 16 /structured-logging/roundtrip2
702s ok 17 /structured-logging/roundtrip3
702s ok 18 /structured-logging/variant1
702s ok 19 /structured-logging/variant2
702s ok 20 /structured-logging/set-writer-func-twice
702s # End of structured-logging tests
702s ok - glib/logging.test
702s # Running test: glib/gthash.test
702s ok - glib/gthash.test
702s TAP version 14
702s # random seed: R02S556895df43f29ead532e497e656cbae8
702s 1..1
702s # Start of gthash tests
702s ok 1 /gthash/build-retrieve
702s # End of gthash tests
702s # Running test: glib/relation.test
702s TAP version 14
702s # random seed: R02S91719bafc63dbf780774ae31b27974ed
702s 1..1
702s # Start of glib tests
702s ok 1 /glib/relation
702s # End of glib tests
702s ok - glib/relation.test
702s # Running test: glib/basic-signals.test
702s TAP version 14
702s # random seed: R02S0e62a27157d5d30b2ce51eba11bbafcf
702s 1..1
702s # Start of gobject tests
702s ok 1 /gobject/basic-signals
702s # End of gobject tests
702s ok - glib/basic-signals.test
702s # Running test: glib/utf8-private.test
702s ok - glib/utf8-private.test
702s TAP version 14
702s # random seed: R02Sbbc408636a20dda804405855f0b8473d
702s 1..2
702s # Start of utf8 tests
702s ok 1 /utf8/utf8-to-utf16-make-valid
702s ok 2 /utf8/utf8-to-utf16-make-valid-backtrack
702s # End of utf8 tests
702s # Running test: glib/memory-monitor-portal.test
702s TAP version 13
702s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available
702s 1..1
702s ok - glib/memory-monitor-portal.test
702s # Running test: glib/hook.test
702s TAP version 14
702s # random seed: R02S09d4a7b57eaa55d0c63665526328f7f6
702s 1..2
702s # Start of hook tests
702s ok 1 /hook/basics
702s ok 2 /hook/corner-cases
702s # End of hook tests
702s ok - glib/hook.test
702s # Running test: glib/init.test
702s TAP version 14
702s # random seed: R02S5d208e854569de9ec48825be5cac7580
702s 1..2
702s # Start of thread tests
702s # Start of deprecated tests
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_ZWF4J3/thread/deprecated/init/.dirs/runtime
702s ok 1 /thread/deprecated/init
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_ZWF4J3/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
702s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
702s # End of deprecated tests
702s # End of thread tests
702s ok - glib/init.test
702s # Running test: glib/null-settings-backend.test
702s TAP version 14
702s # random seed: R02S2feca266fadc168faee43b938aeb9e35
702s 1..1
702s # Start of null-settings-backend tests
702s ok 1 /null-settings-backend/extension-point-registered
702s # End of null-settings-backend tests
702s ok - glib/null-settings-backend.test
702s # Running test: glib/uri.test
702s ok - glib/uri.test
702s # Running test: glib/deprecated-properties.test
702s TAP version 14
702s # random seed: R02S7f080f7e1a7a0b216bb91a3a6476bc12
702s 1..24
702s # Start of uri tests
702s ok 1 /uri/file-to-uri
702s ok 2 /uri/file-from-uri
702s ok 3 /uri/file-roundtrip
702s ok 4 /uri/list
702s # Test 0: %2Babc %4F
702s # Test 1: %2Babc %4F
702s # Test 2: %00abc %4F
702s # Test 3: /cursors/none.png
702s # Test 4: /cursors%2fbad-subdir/none.png
702s # Test 5: %0
702s # Test 6: %ra
702s # Test 7: %2r
702s # Test 8: Timm Bäder
702s # Test 9: (null)
702s ok 5 /uri/unescape-string
702s ok 6 /uri/unescape-segment
702s # Test 0: abcdefgABCDEFG._~
702s # Test 1: :+ \\?#
702s # Test 2: a+b:c
702s # Test 3: a+b:c\303\234
702s # Test 4: \374;\322
702s # Test 5: \303\261\303(
702s ok 7 /uri/escape-string
702s ok 8 /uri/escape-bytes
702s ok 9 /uri/scheme
702s ok 10 /uri/build
702s ok 11 /uri/split
702s ok 12 /uri/is_valid
702s ok 13 /uri/to-string
702s ok 14 /uri/join
702s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
702s # Combination 0
702s # Combination 1
702s # Combination 2
702s # Combination 3
702s # Combination 4
702s # Combination 5
702s # Combination 6
702s # Combination 7
702s # Combination 8
702s # Combination 9
702s # Combination 10
702s # Combination 11
702s # Combination 12
702s # Combination 13
702s # Combination 14
702s # Combination 15
702s # Combination 16
702s # Combination 17
702s # Combination 18
702s # Combination 19
702s # Combination 20
702s # Combination 21
702s # Combination 22
702s # Combination 23
702s # Combination 24
702s # Combination 25
702s # Combination 26
702s # Combination 27
702s # Combination 28
702s # Combination 29
702s # Combination 30
702s # Combination 31
702s # Combination 32
702s # Combination 33
702s # Combination 34
702s # Combination 35
702s # Combination 36
702s # Combination 37
702s # Combination 38
702s # Combination 39
702s # Combination 40
702s # Combination 41
702s # Combination 42
702s # Combination 43
702s # Combination 44
702s # Combination 45
702s # Combination 46
702s # Combination 47
702s # Combination 48
702s # Combination 49
702s # Combination 50
702s # Combination 51
702s # Combination 52
702s # Combination 53
702s # Combination 54
702s # Combination 55
702s # Combination 56
702s # Combination 57
702s # Combination 58
702s # Combination 59
702s # Combination 60
702s # Combination 61
702s # Combination 62
702s # Combination 63
702s # Combination 64
702s # Combination 65
702s # Combination 66
702s # Combination 67
702s # Combination 68
702s # Combination 69
702s # Combination 70
702s # Combination 71
702s # Combination 72
702s # Combination 73
702s # Combination 74
702s # Combination 75
702s # Combination 76
702s # Combination 77
702s # Combination 78
702s # Combination 79
702s # Combination 80
702s # Combination 81
702s # Combination 82
702s # Combination 83
702s # Combination 84
702s # Combination 85
702s # Combination 86
702s # Combination 87
702s # Combination 88
702s # Combination 89
702s # Combination 90
702s # Combination 91
702s # Combination 92
702s # Combination 93
702s # Combination 94
702s # Combination 95
702s # Combination 96
702s # Combination 97
702s # Combination 98
702s # Combination 99
702s # Combination 100
702s # Combination 101
702s # Combination 102
702s # Combination 103
702s # Combination 104
702s # Combination 105
702s # Combination 106
702s # Combination 107
702s # Combination 108
702s # Combination 109
702s # Combination 110
702s # Combination 111
702s # Combination 112
702s # Combination 113
702s # Combination 114
702s # Combination 115
702s # Combination 116
702s # Combination 117
702s # Combination 118
702s # Combination 119
702s # Combination 120
702s # Combination 121
702s # Combination 122
702s # Combination 123
702s # Combination 124
702s # Combination 125
702s # Combination 126
702s # Combination 127
702s # Combination 128
702s # Combination 129
702s # Combination 130
702s # Combination 131
702s # Combination 132
702s # Combination 133
702s # Combination 134
702s # Combination 135
702s # Combination 136
702s # Combination 137
702s # Combination 138
702s # Combination 139
702s # Combination 140
702s # Combination 141
702s # Combination 142
702s # Combination 143
702s # Combination 144
702s # Combination 145
702s # Combination 146
702s # Combination 147
702s # Combination 148
702s # Combination 149
702s # Combination 150
702s # Combination 151
702s # Combination 152
702s # Combination 153
702s # Combination 154
702s # Combination 155
702s # Combination 156
702s # Combination 157
702s # Combination 158
702s # Combination 159
702s # Combination 160
702s # Combination 161
702s # Combination 162
702s # Combination 163
702s # Combination 164
702s # Combination 165
702s # Combination 166
702s # Combination 167
702s # Combination 168
702s # Combination 169
702s # Combination 170
702s # Combination 171
702s # Combination 172
702s # Combination 173
702s # Combination 174
702s # Combination 175
702s # Combination 176
702s # Combination 177
702s # Combination 178
702s # Combination 179
702s # Combination 180
702s # Combination 181
702s # Combination 182
702s # Combination 183
702s # Combination 184
702s # Combination 185
702s # Combination 186
702s # Combination 187
702s # Combination 188
702s # Combination 189
702s # Combination 190
702s # Combination 191
702s # Combination 192
702s # Combination 193
702s # Combination 194
702s # Combination 195
702s # Combination 196
702s # Combination 197
702s # Combination 198
702s # Combination 199
702s # Combination 200
702s # Combination 201
702s # Combination 202
702s # Combination 203
702s # Combination 204
702s # Combination 205
702s # Combination 206
702s # Combination 207
702s # Combination 208
702s # Combination 209
702s # Combination 210
702s # Combination 211
702s # Combination 212
702s # Combination 213
702s # Combination 214
702s # Combination 215
702s # Combination 216
702s # Combination 217
702s # Combination 218
702s # Combination 219
702s # Combination 220
702s # Combination 221
702s # Combination 222
702s # Combination 223
702s # Combination 224
702s # Combination 225
702s # Combination 226
702s # Combination 227
702s # Combination 228
702s # Combination 229
702s # Combination 230
702s # Combination 231
702s # Combination 232
702s # Combination 233
702s # Combination 234
702s # Combination 235
702s # Combination 236
702s # Combination 237
702s # Combination 238
702s # Combination 239
702s # Combination 240
702s # Combination 241
702s # Combination 242
702s # Combination 243
702s # Combination 244
702s # Combination 245
702s # Combination 246
702s # Combination 247
702s # Combination 248
702s # Combination 249
702s # Combination 250
702s # Combination 251
702s # Combination 252
702s # Combination 253
702s # Combination 254
702s # Combination 255
702s ok 15 /uri/join-split-round-trip
702s ok 16 /uri/normalize
702s # Start of unescape-bytes tests
702s # Test 0: %00%00
702s # Test 1: /cursors/none.png
702s # Test 2: /cursors%2fbad-subdir/none.png
702s # Test 3: %%
702s # Test 4: %
702s ok 17 /uri/unescape-bytes/nul-terminated
702s # Test 0: %00%00
702s # Test 1: /cursors/none.png
702s # Test 2: /cursors%2fbad-subdir/none.png
702s # Test 3: %%
702s # Test 4: %
702s ok 18 /uri/unescape-bytes/length
702s # End of unescape-bytes tests
702s # Start of parsing tests
702s # Test 0: foo:
702s # Test 1: file:/dev/null
702s # Test 2: file:///dev/null
702s # Test 3: ftp://user@host/path
702s # Test 4: ftp://user@host:9999/path
702s # Test 5: ftp://user:password@host/path
702s # Test 6: ftp://user:password@host:9999/path
702s # Test 7: ftp://user:password@host
702s # Test 8: http://us%65r@host
702s # Test 9: http://us%40r@host
702s # Test 10: http://us%3ar@host
702s # Test 11: http://us%2fr@host
702s # Test 12: http://us%3fr@host
702s # Test 13: http://host?query
702s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
702s # 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
702s # Test 16: http://space/%20
702s # Test 17: http://delims/%3C%3E%23%25%22
702s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
702s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
702s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
702s # Test 21: http://[3ffe:2a00:100:7031::1]
702s # Test 22: http://[1080::8:800:200C:417A]/foo
702s # Test 23: http://[::192.9.5.5]/ipng
702s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
702s # Test 25: http://[2010:836B:4179::836B:4179]
702s # Test 26: http://host/path with spaces
702s # Test 27: http://host/path
702s # Test 28: http://host/path
702s # Test 29: http://host
702s # Test 30: http://host:999
702s # Test 31: http://host/pa
702s # th
702s # Test 32: http:
702s # //host/path
702s # Test 33: http:// host/path
702s # Test 34: http://host/path?
702s # Test 35: http://host/path#
702s # Test 36: http://host/path%
702s # Test 37: http://h%ost/path
702s # Test 38: http://host/path%%
702s # Test 39: http://host/path%%%
702s # Test 40: http://host/path%/x/
702s # Test 41: http://host/path%0x/
702s # Test 42: http://host/path%ax
702s # Test 43: http://host/päth/
702s # Test 44: HTTP:////////////////
702s # Test 45: http://@host
702s # Test 46: http://:@host
702s # Test 47: scheme://foo%3Abar._webdav._tcp.local
702s # Test 48: http://example.com/..
702s # Test 49: foo0://host/path
702s # Test 50: f0.o://host/path
702s # Test 51: http++://host/path
702s # Test 52: http-ish://host/path
702s # Test 53: http://[fe80::dead:beef%]/
702s # Test 54: http://[fe80::dead:beef%em1]/
702s # Test 55: http://[fe80::dead:beef%em1]/
702s # Test 56: http://[fe80::dead:beef%25em1]/
702s # Test 57: http://[fe80::dead:beef%25em1%20]/
702s # Test 58: http://[fe80::dead:beef%25em%31]/
702s # Test 59: http://[fe80::dead:beef%10]/
702s # Test 60: http://[fe80::dead:beef%10]/
702s # Test 61: http://[fe80::dead:beef%25]/
702s # Test 62: http://[fe80::dead:beef%25]/
702s # Test 63: http://[192.168.0.1%25em1]/
702s # Test 64: http://[fe80::dead:beef%2em1]/
702s # Test 65: http://[fe80::dead:beef%2em1]/
702s # Test 66: http://[fe80::dead:beef%25em1%00]/
702s # Test 67: http://[fe80::dead:beef%25em1%00]/
702s # Test 68: http://xn--mixed-üp/
702s # Test 69: data:.///
702s # Test 70: data:/.//
702s ok 19 /uri/parsing/absolute
702s ok 20 /uri/parsing/relative
702s # End of parsing tests
702s # Start of iter-params tests
702s # URI 0: p1=foo&p2=bar;p3=baz
702s # URI 1: p1=foo&p2=bar
702s # URI 2: p1=foo&&P1=bar
702s # URI 3: %00=foo
702s # URI 4: p1=%00
702s # URI 5: p1=foo&p1=bar
702s # URI 6: p1=foo&P1=bar
702s # URI 7: =%
702s # URI 8: =
702s # URI 9: foo
702s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
702s ok 21 /uri/iter-params/nul-terminated
702s # URI 0: p1=foo&p2=bar;p3=baz
702s # URI 1: p1=foo&p2=bar
702s # URI 2: p1=foo&&P1=bar
702s # URI 3: %00=foo
702s # URI 4: p1=%00
702s # URI 5: p1=foo&p1=bar
702s # URI 6: p1=foo&P1=bar
702s # URI 7: =%
702s # URI 8: =
702s # URI 9: foo
702s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
702s ok 22 /uri/iter-params/length
702s # End of iter-params tests
702s # Start of parse-params tests
702s # URI 0: p1=foo&p2=bar;p3=baz
702s # URI 1: p1=foo&p2=bar
702s # URI 2: p1=foo&&P1=bar
702s # URI 3: %00=foo
702s # URI 4: p1=%00
702s # URI 5: p1=foo&p1=bar
702s # URI 6: p1=foo&P1=bar
702s # URI 7: =%
702s # URI 8: =
702s # URI 9: foo
702s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
702s ok 23 /uri/parse-params/nul-terminated
702s # URI 0: p1=foo&p2=bar;p3=baz
702s # URI 1: p1=foo&p2=bar
702s # URI 2: p1=foo&&P1=bar
702s # URI 3: %00=foo
702s # URI 4: p1=%00
702s # URI 5: p1=foo&p1=bar
702s # URI 6: p1=foo&P1=bar
702s # URI 7: =%
702s # URI 8: =
702s # URI 9: foo
702s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
702s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
702s ok 24 /uri/parse-params/length
702s # End of parse-params tests
702s # End of uri tests
702s TAP version 14
702s # random seed: R02Se463dd834e68b5c5e51d6a39ddde0abb
702s 1..3
702s # Start of deprecated-properties tests
702s ok 1 /deprecated-properties/construct
702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
702s ok 2 /deprecated-properties/default-construct
702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
702s ok 3 /deprecated-properties/set
702s # End of deprecated-properties tests
702s ok - glib/deprecated-properties.test
702s # Running test: glib/callable-info.test
702s TAP version 14
702s # random seed: R02Sfff7bd2df10e8e008d0a64112a0afbbb
702s 1..6
702s # Start of callable-info tests
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/sync-function/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s ok 1 /callable-info/sync-function
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/async-function/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s ok 2 /callable-info/async-function
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/is-method/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s ok 3 /callable-info/is-method
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/static-method/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s ok 4 /callable-info/static-method
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/static-vfunc/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361
702s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough
702s # Start of platform tests
702s # Start of unix tests
702s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/home
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/cache
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/system-config1:/tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/system-config2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/config
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/system-data1:/tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/system-data2
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/data
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/state
702s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_WCB5J3/callable-info/platform/unix/is-method/.dirs/runtime
702s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
702s # Checking DesktopAppInfo in Gio
702s # Checking DesktopAppInfo in GioUnix
702s ok 6 /callable-info/platform/unix/is-method
702s # End of unix tests
702s # End of platform tests
702s # End of callable-info tests
702s ok - glib/callable-info.test
702s # Running test: glib/hash.test
702s TAP version 14
702s # random seed: R02S218952d173966432e7e1c7906a9b28f9
702s 1..34
702s # Start of hash tests
702s ok 1 /hash/misc
702s ok 2 /hash/one
702s ok 3 /hash/honeyman
702s ok 4 /hash/direct
702s ok 5 /hash/direct2
702s ok 6 /hash/int
702s ok 7 /hash/int64
702s ok 8 /hash/double
702s ok 9 /hash/string
702s ok 10 /hash/set
702s ok 11 /hash/set-ref
702s ok 12 /hash/ref
702s ok 13 /hash/remove-all
702s ok 14 /hash/recursive-remove-all
702s ok 15 /hash/find
702s ok 16 /hash/foreach
702s ok 17 /hash/foreach-steal
702s ok 18 /hash/steal-extended
702s ok 19 /hash/steal-all-keys
702s ok 20 /hash/steal-all-values
702s ok 21 /hash/lookup-extended
702s ok 22 /hash/new-similar
702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
702s ok 23 /hash/lookup-null-key
702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
702s ok 24 /hash/destroy-modify
702s ok 25 /hash/consistency
702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
702s ok 26 /hash/iter-replace
702s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
702s ok 27 /hash/set-insert-corruption
702s ok 28 /hash/set-to-strv
702s ok 29 /hash/get-keys-as-ptr-array
702s ok 30 /hash/get-values-as-ptr-array
702s ok 31 /hash/primes
702s # Start of int64 tests
702s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
702s ok 32 /hash/int64/collisions
702s # End of int64 tests
702s # Start of double tests
702s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
702s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
702s ok 33 /hash/double/collisions
702s # End of double tests
702s # Start of recursive-remove-all tests
702s # End of recursive-remove-all tests
702s # Start of steal-extended tests
702s ok 34 /hash/steal-extended/optional
702s # End of steal-extended tests
702s # End of hash tests
702s ok - glib/hash.test
702s # Running test: glib/thread-deprecated.test
702s TAP version 14
702s # random seed: R02S4dbd7e65fce4696071bf1db16330024f
702s 1..6
702s # Start of thread tests
702s ok 1 /thread/mutex
703s ok 2 /thread/static-rec-mutex
704s # Executing: glib/thread-deprecated.test
707s ok 3 /thread/static-private
707s # slow test /thread/static-private executed in 4.40 secs
709s # Executing: glib/thread-deprecated.test
712s ok 4 /thread/static-rw-lock
712s # slow test /thread/static-rw-lock executed in 5.00 secs
712s ok 5 /thread/once
714s # Executing: glib/thread-deprecated.test
719s # Executing: glib/thread-deprecated.test
722s ok 6 /thread/rerun-all
722s # slow test /thread/rerun-all executed in 10.02 secs
722s # End of thread tests
722s ok - glib/thread-deprecated.test
722s # Running test: glib/g-icon.test
722s TAP version 14
722s # random seed: R02S138ca4636fb207f01362057ac58aee7d
722s 1..6
722s # Start of icons tests
722s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
722s ok 1 /icons/to-string
722s ok 2 /icons/serialize
722s ok 3 /icons/themed
722s ok 4 /icons/emblemed
722s ok 5 /icons/file
722s ok 6 /icons/bytes
722s # End of icons tests
722s ok - glib/g-icon.test
722s # Running test: glib/type-flags.test
722s ok - glib/type-flags.test
722s # Running test: glib/signals-refcount1.test
722s TAP version 14
722s # random seed: R02S907044921c16c4c18c550570618451b0
722s 1..4
722s # Start of type tests
722s # Start of flags tests
722s ok 1 /type/flags/interface
722s ok 2 /type/flags/final
722s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
722s ok 3 /type/flags/deprecated
722s # Start of final tests
722s ok 4 /type/flags/final/instance-check
722s # End of final tests
722s # End of flags tests
722s # End of type tests
722s TAP version 14
722s # random seed: R02S5a1127f89b35e9dce054574afa1c229b
722s 1..1
722s # Start of gobject tests
722s # Start of refcount tests
722s # init 0xbc3300ed54b0
722s #
722s # init 0xbc3300ecd580
722s #
724s # Executing: glib/signals-refcount1.test
727s # dispose 0xbc3300ed54b0!
727s #
727s # dispose 0xbc3300ecd580!
727s #
727s ok 1 /gobject/refcount/signals
727s # slow test /gobject/refcount/signals executed in 5.00 secs
727s # End of refcount tests
727s # End of gobject tests
727s ok - glib/signals-refcount1.test
727s # Running test: glib/file-enumerator.test
727s ok - glib/file-enumerator.test
727s TAP version 14
727s # random seed: R02S9f39ecb56f7d84174a5d889496dab138
727s 1..1
727s # Start of file-enumerator tests
727s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
727s ok 1 /file-enumerator/close-on-dispose
727s # End of file-enumerator tests
727s # Running test: glib/bitlock.test
727s ok - glib/bitlock.test
727s # Running test: glib/asyncqueue.test
727s TAP version 14
727s # random seed: R02S9e5611629a8a3b8fd0e3bfc5a3d07e7f
727s 1..2
727s # Start of bitlock tests
727s # Start of performance tests
727s # max perf: iterations per second
727s ok 1 /bitlock/performance/uncontended
727s ok 2 /bitlock/performance/parallel
727s # End of performance tests
727s # End of bitlock tests
727s TAP version 14
727s # random seed: R02S3ee1d39af54af1418eb7dccf5a0c5306
727s 1..7
727s # Start of asyncqueue tests
727s ok 1 /asyncqueue/basics
727s ok 2 /asyncqueue/sort
727s ok 3 /asyncqueue/destroy
727s ok 4 /asyncqueue/threads
727s ok - glib/asyncqueue.test
727s ok 5 /asyncqueue/timed
727s ok 6 /asyncqueue/remove
727s ok 7 /asyncqueue/push_front
727s # End of asyncqueue tests
727s # Running test: glib/fdo-notification-backend.test
727s TAP version 14
727s # random seed: R02Sd1436dac8d85c93ea5b7a6a2625655bf
727s 1..2
727s # Start of fdo-notification-backend tests
727s # Test constructing a GFdoNotificationBackend
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s ok 1 /fdo-notification-backend/construction
727s # Start of dbus tests
727s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
727s ok 2 /fdo-notification-backend/dbus/activate-action
727s # End of dbus tests
727s # End of fdo-notification-backend tests
728s ok - glib/fdo-notification-backend.test
728s # Running test: glib/gdbus-peer.test
728s TAP version 14
728s # random seed: R02S8295a94654cf2ad4b7a4d08357e37b28
728s 1..12
728s # Start of gdbus tests
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/.dirs/runtime
728s # Testing with unix:dir address
728s # Testing with unix:tmpdir address
728s # Testing with unix:path address
728s ok 1 /gdbus/peer-to-peer
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/delayed-message-processing/.dirs/runtime
728s # Testing with unix:dir address
728s ok 2 /gdbus/delayed-message-processing
728s # slow test /gdbus/delayed-message-processing executed in 0.51 secs
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/nonce-tcp/.dirs/runtime
728s ok 3 /gdbus/nonce-tcp
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/tcp-anonymous/.dirs/runtime
728s ok 4 /gdbus/tcp-anonymous
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/credentials/.dirs/runtime
728s ok 5 /gdbus/credentials
728s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/home
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/cache
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/system-config2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/config
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/system-data2
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/data
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/state
728s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/codegen-peer-to-peer/.dirs/runtime
728s # Testing with unix:dir address
728s # Machine ID: 9677e35f54da4843af9900b843ee8dd8
729s # Executing: glib/gdbus-peer.test
729s ok 6 /gdbus/codegen-peer-to-peer
729s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs
729s # Start of peer-to-peer tests
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/signals/.dirs/runtime
729s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
729s # Testing with unix:dir address
729s ok 7 /gdbus/peer-to-peer/signals
729s # Start of invalid tests
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/server/.dirs/runtime
729s ok 8 /gdbus/peer-to-peer/invalid/server
729s # Start of conn tests
729s # Start of stream tests
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
729s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
729s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
729s ok - glib/gdbus-peer.test
729s # Running test: glib/param.test
729s # End of stream tests
729s # Start of addr tests
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
729s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
729s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
729s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_OXAGK3/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
729s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
729s # End of addr tests
729s # End of conn tests
729s # End of invalid tests
729s # End of peer-to-peer tests
729s # End of gdbus tests
729s TAP version 14
729s # random seed: R02Sab5177bc6d9ff448dba46786c884e2a3
729s 1..32
729s # Start of param tests
729s ok 1 /param/value
729s ok 2 /param/strings
729s ok 3 /param/qdata
729s ok 4 /param/validate
729s ok 5 /param/convert
729s ok 6 /param/implement # SKIP Skipping slow /param/implement test
729s ok 7 /param/default
729s ok 8 /param/is-valid-name
729s # Start of invalid-name tests
729s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
729s ok 9 /param/invalid-name/colon
729s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
729s ok 10 /param/invalid-name/first-char
729s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
729s ok 11 /param/invalid-name/empty
729s # End of invalid-name tests
729s # Start of implement tests
729s # Start of subprocess tests
729s # End of subprocess tests
729s # End of implement tests
729s # End of param tests
729s # Start of value tests
729s ok 12 /value/transform
729s # End of value tests
729s # Start of paramspec tests
729s ok 13 /paramspec/char
729s ok 14 /paramspec/uchar
729s ok 15 /paramspec/int
729s ok 16 /paramspec/uint
729s ok 17 /paramspec/long
729s ok 18 /paramspec/ulong
729s ok 19 /paramspec/int64
729s ok 20 /paramspec/uint64
729s ok 21 /paramspec/float
729s ok 22 /paramspec/double
729s ok 23 /paramspec/unichar
729s ok 24 /paramspec/param
729s ok 25 /paramspec/null-param
729s ok 26 /paramspec/string
729s ok 27 /paramspec/override
729s ok 28 /paramspec/gtype
729s ok 29 /paramspec/variant
729s ok 30 /paramspec/custom
729s ok 31 /paramspec/pool
729s # Start of variant tests
729s ok 32 /paramspec/variant/cmp
729s # End of variant tests
729s # End of paramspec tests
729s ok - glib/param.test
729s # Running test: glib/sort.test
729s TAP version 14
729s # random seed: R02Sfde71000900499a59d7abc747cfde4a3
729s 1..5
729s # Start of sort tests
729s ok 1 /sort/basic
729s ok 2 /sort/zero-elements
729s ok 3 /sort/stable
729s ok - glib/sort.test
729s ok 4 /sort/big
729s ok 5 /sort/deprecated
729s # End of sort tests
729s # Running test: glib/g-file.test
729s TAP version 14
729s # random seed: R02S1e89fd3822e0a8f3e2627ffa17acebc1
729s 1..8
729s # Start of g-file tests
729s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
729s ok 1 /g-file/test_g_file_new_null
729s ok 2 /g-file/test_g_file_new_for_path
729s ok 3 /g-file/test_g_file_new_for_uri
729s ok 4 /g-file/test_g_file_dup
729s ok 5 /g-file/test_g_file_get_parse_name_utf8
729s file:///tmp/test-tmp-glib_g-file.test-86XIK3
729s file:///tmp
729s file:///tmp
729s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
729s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
729s ok 6 /g-file/test_g_file_new_for_commandline_arg
729s /dir1 /dir1/dir2/dir3/
729s /dir1/ /dir1/dir2/dir3/
729s /dir1 /dir1/dir2/dir3
729s /dir1/ /dir1/dir2/dir3
729s /tmp/ /something/
729s /dir1/dir2 /dir1/
729s //dir1/new //dir1/new/dir2/dir3
729s /dir/UTF-8 příliš žluťoučký kůň /dir/UTF-8 příliš žluťoučký kůň/dir2
729s file:///dir1 file:///dir1/dir2/dir3/
729s file:///dir1/ file:///dir1/dir2/dir3/
729s file:///dir1 file:///dir1/dir2/dir3
729s file:///dir1/ file:///dir1/dir2/dir3
729s file:///tmp/ file:///something/
729s file:///dir1/dir2 file:///dir1/
729s file:////dir1/new file:////dir1/new/dir2/dir3
729s 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
729s ok 7 /g-file/test_g_file_has_prefix
729s ok 8 /g-file/test_g_file_get_parent_child
729s # End of g-file tests
729s TAP version 14
729s # random seed: R02S82b7aa4aa8d9d892a077839843166df3
729s 1..17
729s # Start of converter tests
729s ok 1 /converter/basics
729s # End of converter tests
729s # Start of converter-input-stream tests
729s ok 2 /converter-input-stream/expander
729s ok - glib/g-file.test
729s # Running test: glib/converter-stream.test
729s ok 3 /converter-input-stream/compressor
729s # Start of truncation tests
730s ok 4 /converter-input-stream/truncation/zlib
730s ok 5 /converter-input-stream/truncation/gzip
730s ok 6 /converter-input-stream/truncation/raw
730s # End of truncation tests
730s # Start of charset tests
730s ok 7 /converter-input-stream/charset/utf8->latin1
730s ok 8 /converter-input-stream/charset/latin1->utf8
730s ok 9 /converter-input-stream/charset/fallbacks
730s # End of charset tests
730s # End of converter-input-stream tests
730s # Start of converter-output-stream tests
730s # Start of roundtrip tests
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 10 /converter-output-stream/roundtrip/zlib-0
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 11 /converter-output-stream/roundtrip/zlib-9
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 12 /converter-output-stream/roundtrip/gzip-0
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 13 /converter-output-stream/roundtrip/gzip-9
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 14 /converter-output-stream/roundtrip/raw-0
730s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
730s ok 15 /converter-output-stream/roundtrip/raw-9
730s # End of roundtrip tests
730s # End of converter-output-stream tests
730s # Start of converter-stream tests
730s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
730s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xbd42719f6b20 and GSocketClientAsyncConnectData 0xbd42719ef270
730s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
730s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
730s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xbd4271635c10 for GSocketClientAsyncConnectData 0xbd42719ef270
730s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
730s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
730s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
730s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
730s ok 16 /converter-stream/pollable
730s ok 17 /converter-stream/leftover
730s # End of converter-stream tests
730s ok - glib/converter-stream.test
730s # Running test: glib/memchunk.test
730s TAP version 14
730s # random seed: R02Sf2b6fdbcf01f841e0123bd83cf178544
730s 1..1
730s # Start of memchunk tests
730s ok 1 /memchunk/basic
730s # End of memchunk tests
730s ok - glib/memchunk.test
730s # Running test: glib/sandbox.test
730s TAP version 14
730s # random seed: R02S03a9f8eb33668a50254091bcd48aa950
730s 1..4
730s # Start of sandbox tests
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_ALZAK3/sandbox/none/.dirs/runtime
730s ok 1 /sandbox/none
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_ALZAK3/sandbox/snap/.dirs/runtime
730s # Created snap.yaml in /tmp/test_sandbox_ALZAK3/snap/current/meta/snap.yaml
730s ok 2 /sandbox/snap
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_ALZAK3/sandbox/classic-snap/.dirs/runtime
730s # Created snap.yaml in /tmp/test_sandbox_ALZAK3/snap/current/meta/snap.yaml
730s ok 3 /sandbox/classic-snap
730s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/home
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/cache
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/system-config2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/config
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/system-data2
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/data
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/state
730s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/runtime
730s # Creating .flatpak-info in /tmp/test_sandbox_ALZAK3/sandbox/flatpak/.dirs/runtime/.flatpak-info
730s ok 4 /sandbox/flatpak
730s # End of sandbox tests
730s ok - glib/sandbox.test
730s # Running test: glib/gsubprocess.test
730s TAP version 14
730s # random seed: R02S22a88498f94d32a3d2d8ffd6ac5fc8fd
730s 1..84
730s # Start of gsubprocess tests
730s ok 1 /gsubprocess/noop
730s ok 2 /gsubprocess/noop-all-to-null
730s ok 3 /gsubprocess/noop-no-wait
730s ok 4 /gsubprocess/noop-stdin-inherit
730s ok 5 /gsubprocess/search-path
730s ok 6 /gsubprocess/search-path-from-envp
733s ok 7 /gsubprocess/signal
733s # slow test /gsubprocess/signal executed in 2.82 secs
733s ok 8 /gsubprocess/exit1
733s ok 9 /gsubprocess/echo1
733s ok 10 /gsubprocess/echo-merged
733s ok 11 /gsubprocess/cat-utf8
734s # Executing: glib/gsubprocess.test
734s ok 12 /gsubprocess/cat-eof
734s # slow test /gsubprocess/cat-eof executed in 1.00 secs
737s ok 13 /gsubprocess/multi1
737s # slow test /gsubprocess/multi1 executed in 3.01 secs
737s ok 14 /gsubprocess/communicate
739s # Executing: glib/gsubprocess.test
740s ok 15 /gsubprocess/terminate
740s # slow test /gsubprocess/terminate executed in 2.97 secs
740s ok 16 /gsubprocess/fail-initialization
740s ok 17 /gsubprocess/env
740s ok 18 /gsubprocess/cwd
740s ok 19 /gsubprocess/launcher-close
740s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
740s ok 20 /gsubprocess/stdout-file
740s ok 21 /gsubprocess/stdout-fd
740s ok 22 /gsubprocess/child-setup
740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
740s ok 23 /gsubprocess/launcher-environment
740s # Start of exit1 tests
740s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
740s ok 24 /gsubprocess/exit1/cancel
740s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
740s ok 25 /gsubprocess/exit1/cancel_in_cb
740s # End of exit1 tests
740s # Start of communicate tests
740s ok 26 /gsubprocess/communicate/cancelled
740s ok 27 /gsubprocess/communicate/async
740s ok 28 /gsubprocess/communicate/utf8
740s # hello world
740s ok 29 /gsubprocess/communicate/no-pipes
740s ok 30 /gsubprocess/communicate/separate-stderr
740s ok 31 /gsubprocess/communicate/stdout-only
740s # hello world
740s ok 32 /gsubprocess/communicate/stderr-only
740s ok 33 /gsubprocess/communicate/stdout-silence
740s ok 34 /gsubprocess/communicate/nothing
740s # Start of async tests
740s ok 35 /gsubprocess/communicate/async/cancelled
740s # hello world
740s ok 36 /gsubprocess/communicate/async/no-pipes
740s ok 37 /gsubprocess/communicate/async/separate-stderr
740s ok 38 /gsubprocess/communicate/async/stdout-only
740s # hello world
740s ok 39 /gsubprocess/communicate/async/stderr-only
740s ok 40 /gsubprocess/communicate/async/stdout-silence
740s # Start of cancelled tests
740s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes
740s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr
740s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only
740s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only
740s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence
740s # End of cancelled tests
740s # End of async tests
740s # Start of utf8 tests
740s ok 46 /gsubprocess/communicate/utf8/cancelled
740s ok 47 /gsubprocess/communicate/utf8/async
740s # hello world
740s ok 48 /gsubprocess/communicate/utf8/no-pipes
740s ok 49 /gsubprocess/communicate/utf8/separate-stderr
740s ok 50 /gsubprocess/communicate/utf8/stdout-only
740s # hello world
740s ok 51 /gsubprocess/communicate/utf8/stderr-only
740s ok 52 /gsubprocess/communicate/utf8/stdout-silence
740s ok 53 /gsubprocess/communicate/utf8/invalid
740s # Start of async tests
740s ok 54 /gsubprocess/communicate/utf8/async/cancelled
740s # hello world
740s ok 55 /gsubprocess/communicate/utf8/async/no-pipes
740s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr
740s ok 57 /gsubprocess/communicate/utf8/async/stdout-only
740s # hello world
740s ok 58 /gsubprocess/communicate/utf8/async/stderr-only
740s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence
740s ok 60 /gsubprocess/communicate/utf8/async/invalid
740s # Start of cancelled tests
740s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
740s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
740s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
740s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
740s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
740s # End of cancelled tests
740s # End of async tests
740s # Start of cancelled tests
740s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes
740s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr
740s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only
740s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only
740s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence
740s # End of cancelled tests
740s # End of utf8 tests
740s # Start of cancelled tests
740s ok 71 /gsubprocess/communicate/cancelled/no-pipes
740s ok 72 /gsubprocess/communicate/cancelled/separate-stderr
740s ok 73 /gsubprocess/communicate/cancelled/stdout-only
740s ok 74 /gsubprocess/communicate/cancelled/stderr-only
740s ok 75 /gsubprocess/communicate/cancelled/stdout-silence
740s # End of cancelled tests
740s # End of communicate tests
740s # Start of env tests
740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
740s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
740s ok 76 /gsubprocess/env/inherit
740s # End of env tests
740s # Start of pass-fd tests
740s ok 77 /gsubprocess/pass-fd/basic
740s ok 78 /gsubprocess/pass-fd/empty-child-setup
740s ok 79 /gsubprocess/pass-fd/inherit-fds
740s # End of pass-fd tests
740s # Start of fd-conflation tests
740s ok 80 /gsubprocess/fd-conflation/basic
740s ok 81 /gsubprocess/fd-conflation/empty-child-setup
740s ok 82 /gsubprocess/fd-conflation/inherit-fds
740s ok 83 /gsubprocess/fd-conflation/child-err-report-fd
740s # End of fd-conflation tests
740s # Start of exit-status tests
740s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
740s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
740s ok 84 /gsubprocess/exit-status/trapped
740s # End of exit-status tests
740s # End of gsubprocess tests
740s ok - glib/gsubprocess.test
740s # Running test: glib/bytes.test
740s TAP version 14
740s # random seed: R02Sf9fe11e9ea5afd79f581d1302afc0cb9
740s 1..21
740s # Start of bytes tests
740s ok 1 /bytes/new
740s ok 2 /bytes/new-take
740s ok 3 /bytes/new-static
740s ok 4 /bytes/new-with-free-func
740s ok 5 /bytes/new-from-bytes
740s ok 6 /bytes/new-from-bytes-slice
740s ok 7 /bytes/new-from-bytes-shared-ref
740s ok 8 /bytes/hash
740s ok 9 /bytes/equal
740s ok 10 /bytes/compare
740s ok 11 /bytes/null
740s ok 12 /bytes/get-region
740s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
740s ok 13 /bytes/unref-null
740s # Start of to-data tests
740s ok 14 /bytes/to-data/transferred
740s ok 15 /bytes/to-data/two-refs
740s ok 16 /bytes/to-data/non-malloc
740s ok 17 /bytes/to-data/different-free-func
740s # End of to-data tests
740s # Start of to-array tests
740s ok 18 /bytes/to-array/transferred
740s ok 19 /bytes/to-array/two-refs
740s ok 20 /bytes/to-array/non-malloc
740s # Start of transferred tests
740s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
740s ok 21 /bytes/to-array/transferred/oversize
740s # End of transferred tests
740s # End of to-array tests
740s # End of bytes tests
740s ok - glib/bytes.test
740s # Running test: glib/module-test-plugin.test
740s TAP version 14
740s # random seed: R02Sa533d6709377e3ec385ed917fb0b75b1
740s 1..3
740s # Start of module tests
740s ok 1 /module/basics
740s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
740s ok 2 /module/invalid-libtool-archive
740s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
740s ok 3 /module/local-binding
740s # End of module tests
740s ok - glib/module-test-plugin.test
740s TAP version 14
740s # random seed: R02S39aab0cb454e7f34a8fbb7f026d6352c
740s 1..4
740s # Start of hostutils tests
740s ok 1 /hostutils/hostname_is_non_ascii
740s ok 2 /hostutils/to_ascii
740s ok 3 /hostutils/to_unicode
740s ok 4 /hostutils/is_ip_addr
740s # End of hostutils tests
740s # Running test: glib/hostutils.test
740s ok - glib/hostutils.test
740s # Running test: glib/assert-msg-test.py.test
740s TAP version 13
740s ok 1 __main__.TestAssertMessage.test_gassert
740s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
740s # tmpdir: /tmp/tmp9gicfpxe
740s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
740s # Return code: -6
740s # Output:
740s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
740s # Error:
740s # **
740s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
740s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
740s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
740s # tmpdir: /tmp/tmp20f8qm15
740s 1..2
740s ok - glib/assert-msg-test.py.test
740s # Running test: glib/properties-introspection.test
740s TAP version 14
740s # random seed: R02Sa2947186b2d163446b02fb64e4f73a9c
740s 1..2
740s # Start of properties tests
740s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
740s ok 1 /properties/introspection
740s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
740s ok 2 /properties/collision
740s # End of properties tests
740s ok - glib/properties-introspection.test
740s # Running test: glib/stream-rw_all.test
740s TAP version 14
740s # random seed: R02S889d5095be5b52fa6be29a450042ab18
740s 1..3
740s # Start of stream tests
740s # Start of read_all_async tests
740s ok 1 /stream/read_all_async/memory
740s # End of read_all_async tests
740s # Start of write_all_async tests
740s ok 2 /stream/write_all_async/memory
740s # End of write_all_async tests
740s # Start of read_write_all_async tests
740s ok 3 /stream/read_write_all_async/pipe
740s # End of read_write_all_async tests
740s # End of stream tests
740s ok - glib/stream-rw_all.test
740s # Running test: glib/objects-refcount2.test
740s TAP version 14
740s # random seed: R02S0e5f6dc912ed7d319d71850fdda8df88
740s 1..1
740s # Start of gobject tests
740s # Start of refcount tests
740s # init 0xb6e5f68b4d80
740s #
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
740s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
741s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
742s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
743s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # Executing: glib/objects-refcount2.test
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
744s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
745s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
746s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # .
747s # dispose 0xb6e5f68b4d80!
747s #
747s ok 1 /gobject/refcount/object-advanced
747s # slow test /gobject/refcount/object-advanced executed in 6.65 secs
747s # End of refcount tests
747s # End of gobject tests
747s ok - glib/objects-refcount2.test
747s # Running test: glib/mappedfile.test
747s TAP version 14
747s # random seed: R02Se988e955cfc6e995ac1541c067df0909
747s 1..7
747s # Start of mappedfile tests
747s ok 1 /mappedfile/basic
747s ok 2 /mappedfile/empty
747s ok 3 /mappedfile/device
747s ok 4 /mappedfile/nonexisting
747s ok 5 /mappedfile/writable
747s ok 6 /mappedfile/writable_fd
747s ok 7 /mappedfile/gbytes
747s # End of mappedfile tests
747s ok - glib/mappedfile.test
747s # Running test: glib/scannerapi.test
747s TAP version 14
747s # random seed: R02Sdca42d18e0b9ec5d1372f130e9a3652f
747s 1..8
747s # Start of scanner tests
747s ok 1 /scanner/warn
747s ok 2 /scanner/error
747s ok 3 /scanner/symbols
747s ok 4 /scanner/tokens
747s ok 5 /scanner/multiline-comment
747s ok 6 /scanner/int-to-float
747s ok 7 /scanner/fd-input
747s # Start of fd-input tests
747s ok 8 /scanner/fd-input/rewind
747s # End of fd-input tests
747s # End of scanner tests
747s ok - glib/scannerapi.test
747s # Running test: glib/socket-address.test
747s ok - glib/socket-address.test
747s TAP version 14
747s # random seed: R02S83d3c8930856f6c90ab58b848a69e691
747s 1..2
747s # Start of socket tests
747s # Start of address tests
747s # Start of unix tests
747s ok 1 /socket/address/unix/construct
747s ok 2 /socket/address/unix/to-string
747s # End of unix tests
747s # End of address tests
747s # End of socket tests
747s # Running test: glib/tls-bindings.test
747s TAP version 14
747s # random seed: R02Saf419426254108fca0590b428049a4f6
747s 1..2
747s # Start of tls-connection tests
747s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
747s ok 1 /tls-connection/get-tls-channel-binding
747s ok 2 /tls-connection/get-dtls-channel-binding
747s # End of tls-connection tests
747s ok - glib/tls-bindings.test
747s # Running test: glib/reference.test
747s TAP version 14
747s # random seed: R02Sba4cb9e9ede0b17b0c135536baa4db8a
747s 1..29
747s # Start of type tests
747s ok 1 /type/fundamentals
747s ok 2 /type/qdata
747s ok 3 /type/query
747s ok 4 /type/class-private
747s # End of type tests
747s # Start of object tests
747s ok 5 /object/clear
747s ok 6 /object/clear-function
747s ok 7 /object/set
747s ok 8 /object/set-function
747s ok 9 /object/value
747s ok 10 /object/initially-unowned
747s ok 11 /object/weak-pointer
747s ok 12 /object/weak-ref
747s ok 13 /object/toggle-ref
747s ok 14 /object/qdata
747s ok 15 /object/qdata2
747s # Start of set tests
747s # /object/set/derived-type summary: Check that g_set_object() doesn’t give strict aliasing warnings when used on types derived from GObject
747s ok 16 /object/set/derived-type
747s # End of set tests
747s # Start of weak-pointer tests
747s ok 17 /object/weak-pointer/clear
747s ok 18 /object/weak-pointer/clear-function
747s ok 19 /object/weak-pointer/set
747s ok 20 /object/weak-pointer/set-function
747s # End of weak-pointer tests
747s # Start of weak-ref tests
747s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
747s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
747s ok 21 /object/weak-ref/on-dispose
747s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
747s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
747s ok 22 /object/weak-ref/on-run-dispose
747s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
747s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
747s ok 23 /object/weak-ref/on-toggle-notify
747s ok 24 /object/weak-ref/in-toggle-notify
747s ok 25 /object/weak-ref/many
747s # Start of concurrent tests
747s ok 26 /object/weak-ref/concurrent/0
747s ok 27 /object/weak-ref/concurrent/1
747s # End of concurrent tests
747s # End of weak-ref tests
747s # Start of toggle-ref tests
747s ok 28 /object/toggle-ref/ref-on-dispose
747s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
747s # End of toggle-ref tests
747s # End of object tests
747s ok - glib/reference.test
747s # Running test: glib/gio-tool.py.test
747s TAP version 13
747s ok 1 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_folder
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmprmevl4q2
747s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmprmevl4q2/folder/desktop.entry']
747s # Working Directory: /tmp/tmprmevl4q2/folder
747s # Return code: 0
747s # Output:
747s # /tmp/tmprmevl4q2/folder/desktop.entry
747s # Error:
747s ok 2 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_parent
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpm0rb5u6y
747s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmpm0rb5u6y/folder/desktop.entry']
747s # Working Directory: /tmp/tmpm0rb5u6y
747s # Return code: 0
747s # Output:
747s # /tmp/tmpm0rb5u6y/folder/desktop.entry
747s # Error:
747s ok 3 __main__.TestGioLaunchExpandsDesktopEntry.test_absolute_from_sibling
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmp19dy2d35
747s # Running: ['/usr/bin/gio', 'launch', '/tmp/tmp19dy2d35/folder/desktop.entry']
747s # Working Directory: /tmp/tmp19dy2d35/sibling
747s # Return code: 0
747s # Output:
747s # /tmp/tmp19dy2d35/folder/desktop.entry
747s # Error:
747s ok 4 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_folder
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpm41exlra
747s # Running: ['/usr/bin/gio', 'launch', 'desktop.entry']
747s # Working Directory: /tmp/tmpm41exlra/folder
747s # Return code: 0
747s # Output:
747s # /tmp/tmpm41exlra/folder/desktop.entry
747s # Error:
747s ok 5 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_parent
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpjkppwsr6
747s # Running: ['/usr/bin/gio', 'launch', 'folder/desktop.entry']
747s # Working Directory: /tmp/tmpjkppwsr6
747s # Return code: 0
747s # Output:
747s # /tmp/tmpjkppwsr6/folder/desktop.entry
747s # Error:
747s ok 6 __main__.TestGioLaunchExpandsDesktopEntry.test_relative_from_sibling
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmptgrw_20z
747s # Running: ['/usr/bin/gio', 'launch', '../folder/desktop.entry']
747s # Working Directory: /tmp/tmptgrw_20z/sibling
747s # Return code: 0
747s # Output:
747s # /tmp/tmptgrw_20z/folder/desktop.entry
747s # Error:
747s ok 7 __main__.TestGioTool.test_help
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpex69ygft
747s # Running: ['/usr/bin/gio', '--help']
747s # Return code: 0
747s # Output:
747s # Usage:
747s # gio COMMAND [ARGS…]
747s #
747s # Commands:
747s # help Print help
747s # version Print version
747s # cat Concatenate files to standard output
747s # copy Copy one or more files
747s # info Show information about locations
747s # launch Launch an application from a desktop file
747s # list List the contents of locations
747s # mime Get or set the handler for a mimetype
747s # mkdir Create directories
747s # monitor Monitor files and directories for changes
747s # mount Mount or unmount the locations
747s # move Move one or more files
747s # open Open files with the default application
747s # rename Rename a file
747s # remove Delete one or more files
747s # save Read from standard input and save
747s # set Set a file attribute
747s # trash Move files or directories to the trash
747s # tree Lists the contents of locations in a tree
747s #
747s # Use “gio help COMMAND” to get detailed help.
747s # Error:
747s #
747s # Running: ['/usr/bin/gio', 'help']
747s # Return code: 0
747s # Output:
747s # Usage:
747s # gio COMMAND [ARGS…]
747s #
747s # Commands:
747s # help Print help
747s # version Print version
747s # cat Concatenate files to standard output
747s # copy Copy one or more files
747s # info Show information about locations
747s # launch Launch an application from a desktop file
747s # list List the contents of locations
747s # mime Get or set the handler for a mimetype
747s # mkdir Create directories
747s # monitor Monitor files and directories for changes
747s # mount Mount or unmount the locations
747s # move Move one or more files
747s # open Open files with the default application
747s # rename Rename a file
747s # remove Delete one or more files
747s # save Read from standard input and save
747s # set Set a file attribute
747s # trash Move files or directories to the trash
747s # tree Lists the contents of locations in a tree
747s #
747s # Use “gio help COMMAND” to get detailed help.
747s # Error:
747s ok 8 __main__.TestGioTool.test_info_non_default_attributes
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpc7g82j02
747s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmpc7g82j02/tmptjv747hs']
747s # Return code: 0
747s # Output:
747s # uri: file:///tmp/tmpc7g82j02/tmptjv747hs
747s # local path: /tmp/tmpc7g82j02/tmptjv747hs
747s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30
747s # attributes:
747s # standard::content-type: application/x-zerosize
747s # Error:
747s ok 9 __main__.TestGioTool.test_no_args
747s # gio: /usr/bin/gio
747s # tmpdir: /tmp/tmpg3p3mn16
747s # Running: ['/usr/bin/gio']
747s # Return code: 1
747s # Output:
747s #
747s # Error:
747s # Usage:
747s # gio COMMAND [ARGS…]
747s #
747s # Commands:
747s # help Print help
747s # version Print version
747s # cat Concatenate files to standard output
747s # copy Copy one or more files
747s # info Show information about locations
747s # launch Launch an application from a desktop file
747s # list List the contents of locations
747s # mime Get or set the handler for a mimetype
747s # mkdir Create directories
747s # monitor Monitor files and directories for changes
747s # mount Mount or unmount the locations
747s # move Move one or more files
747s # open Open files with the default application
747s # rename Rename a file
747s # remove Delete one or more files
747s # save Read from standard input and save
747s # set Set a file attribute
747s # trash Move files or directories to the trash
747s # tree Lists the contents of locations in a tree
747s #
747s # Use “gio help COMMAND” to get detailed help.
747s 1..9
747s ok - glib/gio-tool.py.test
747s # Running test: glib/field-info.test
747s TAP version 14
747s # random seed: R02S84e0b9218ec8fcbd4a350861f13dc7d3
747s 1..4
747s # Start of field-info tests
747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/home
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/cache
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/system-config1:/tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/system-config2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/config
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/system-data1:/tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/system-data2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/data
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/state
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2DIIK3/field-info/basic-struct-field/.dirs/runtime
747s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
747s # /field-info/basic-struct-field summary: Test basic properties of a GIFieldInfo from a C struct
747s ok 1 /field-info/basic-struct-field
747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/home
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/cache
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/system-config1:/tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/system-config2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/config
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/system-data1:/tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/system-data2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/data
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/state
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2DIIK3/field-info/basic-union-field/.dirs/runtime
747s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
747s # /field-info/basic-union-field summary: Test basic properties of a GIFieldInfo from a C union
747s ok 2 /field-info/basic-union-field
747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/home
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/cache
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/system-config1:/tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/system-config2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/config
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/system-data1:/tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/system-data2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/data
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/state
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2DIIK3/field-info/read-write-struct-field/.dirs/runtime
747s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
747s # /field-info/read-write-struct-field summary: Test reading and writing of a GIFieldInfo from a C union
747s ok 3 /field-info/read-write-struct-field
747s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/home
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/cache
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/system-config1:/tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/system-config2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/config
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/system-data1:/tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/system-data2
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/data
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/state
747s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_field-info_2DIIK3/field-info/read-write-union-field/.dirs/runtime
747s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
747s # /field-info/read-write-union-field summary: Test reading and writing of a GIFieldInfo from a C union
747s ok 4 /field-info/read-write-union-field
747s # End of field-info tests
747s ok - glib/field-info.test
747s # Running test: glib/thread-pool-slow.test
747s TAP version 14
747s # random seed: R02S541bdb37c12775f4da1aab268c6659f7
747s 1..7
747s # Start of threadpool tests
747s ok 1 /threadpool/functions
748s ok 2 /threadpool/stop-unused
748s # slow test /threadpool/stop-unused executed in 0.51 secs
748s ok 3 /threadpool/pools
748s # [unsorted] ===> pushed new thread with id:41, number of threads:1, unprocessed:1
748s # [unsorted] ===> pushed new thread with id:25, number of threads:2, unprocessed:1
748s # [unsorted] ===> pushed new thread with id:21, number of threads:3, unprocessed:1
748s # [unsorted] ===> pushed new thread with id:49, number of threads:4, unprocessed:2
748s # [unsorted] ===> pushed new thread with id:82, number of threads:5, unprocessed:3
748s # [unsorted] ===> pushed new thread with id:50, number of threads:6, unprocessed:4
748s # [unsorted] ===> pushed new thread with id:16, number of threads:7, unprocessed:5
748s # [unsorted] ===> pushed new thread with id:62, number of threads:8, unprocessed:6
748s # [unsorted] ===> pushed new thread with id:2, number of threads:9, unprocessed:7
748s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:8
748s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:9
748s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:9
748s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:10
748s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:11
748s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:12
748s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:13
748s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:14
748s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:15
748s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:16
748s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:17
748s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:18
748s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:19
748s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:20
748s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:21
748s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:22
748s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:23
748s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:24
748s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:25
748s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:26
748s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:27
748s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:28
748s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:29
748s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:30
748s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:31
748s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:32
748s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:33
748s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:34
748s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:35
748s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:36
748s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:37
748s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:38
748s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:39
748s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:40
748s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:41
748s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:42
748s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:43
748s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:44
748s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:45
748s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:46
748s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:47
748s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:48
748s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:49
748s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:50
748s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:51
748s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:52
748s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:53
748s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:54
748s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:55
748s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:56
748s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:57
748s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:58
748s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:59
748s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:60
748s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:61
748s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:62
748s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:63
748s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:64
748s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:65
748s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:66
748s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:67
748s # [unsorted] ===> pushed new thread with id:59, number of threads:10, unprocessed:68
748s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:69
748s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:69
748s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:70
748s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:71
748s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:72
748s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:73
748s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:74
748s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:75
748s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:76
748s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:77
748s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:78
748s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:79
748s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:80
748s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:81
748s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:82
748s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:83
748s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:84
748s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:85
748s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:86
748s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:87
748s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:88
748s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:89
748s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:90
748s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:91
748s ok 4 /threadpool/no-sort
748s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:1
748s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:2
748s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:3
748s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:4
748s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:5
748s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:6
748s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:7
748s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:8
748s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:9
748s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:10
748s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:11
748s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:12
748s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:13
748s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:14
748s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:15
748s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:16
748s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:17
748s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:18
748s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:19
748s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:20
748s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:21
748s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:22
748s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:23
748s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:24
748s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:25
748s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:26
748s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:27
748s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:28
748s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:29
748s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:30
748s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:31
748s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:32
748s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:33
748s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:34
748s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:35
748s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:36
748s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:37
748s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:38
748s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:39
748s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:40
748s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:41
748s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:42
748s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:43
748s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:44
748s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:45
748s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:46
748s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:47
748s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:48
748s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:49
748s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:50
748s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:51
748s # [ sorted] ===> pushed new thread with id:44, number of threads:0, unprocessed:52
748s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:53
748s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:54
748s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:55
748s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:56
748s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:57
748s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:58
748s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:59
748s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:60
748s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:61
748s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:62
748s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:63
748s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:64
748s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:65
748s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:66
748s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:67
748s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:68
748s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:69
748s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:70
748s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:71
748s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:72
748s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:73
748s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:74
748s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:75
748s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:76
748s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:77
748s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:78
748s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:79
748s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:80
748s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:81
748s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:82
748s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:83
748s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:84
748s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:85
748s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:86
748s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:87
748s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:88
748s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:89
748s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:90
748s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:91
748s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:92
748s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:93
748s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:94
748s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:95
748s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:96
748s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:97
748s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:98
748s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:99
748s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:100
748s # Starting thread pool processing
748s ok 5 /threadpool/sort
748s ok 6 /threadpool/stop-unused-multiple
748s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
748s # Pool idle thread count: 0, unprocessed jobs: 50
749s # Pool idle thread count: 0, unprocessed jobs: 0
749s # Pool idle thread count: 0, unprocessed jobs: 0
749s # Executing: glib/thread-pool-slow.test
749s # Pool idle thread count: 10, unprocessed jobs: 0
749s # Pool idle thread count: 10, unprocessed jobs: 0
750s # Pool idle thread count: 10, unprocessed jobs: 0
750s # Pool idle thread count: 10, unprocessed jobs: 0
750s # Pool idle thread count: 10, unprocessed jobs: 0
750s # Pool idle thread count: 10, unprocessed jobs: 0
751s # Pool idle thread count: 10, unprocessed jobs: 0
751s # Pool idle thread count: 10, unprocessed jobs: 0
751s # Pool idle thread count: 10, unprocessed jobs: 0
751s # Pool idle thread count: 10, unprocessed jobs: 0
752s # Pool idle thread count: 10, unprocessed jobs: 0
752s # Pool idle thread count: 10, unprocessed jobs: 0
752s # Pool idle thread count: 10, unprocessed jobs: 0
752s # Pool idle thread count: 10, unprocessed jobs: 0
753s # Pool idle thread count: 10, unprocessed jobs: 0
753s # Pool idle thread count: 10, unprocessed jobs: 0
754s # Pool idle thread count: 10, unprocessed jobs: 0
754s # Pool idle thread count: 10, unprocessed jobs: 0
754s # Pool idle thread count: 10, unprocessed jobs: 0
754s # Pool idle thread count: 10, unprocessed jobs: 0
754s # Executing: glib/thread-pool-slow.test
755s # Pool idle thread count: 10, unprocessed jobs: 0
755s # Pool idle thread count: 10, unprocessed jobs: 0
755s # Pool idle thread count: 10, unprocessed jobs: 0
755s # Pool idle thread count: 10, unprocessed jobs: 0
755s # Pool idle thread count: 10, unprocessed jobs: 0
755s # Pool idle thread count: 10, unprocessed jobs: 0
756s # Pool idle thread count: 10, unprocessed jobs: 0
756s # Pool idle thread count: 10, unprocessed jobs: 0
756s # Pool idle thread count: 10, unprocessed jobs: 0
756s # Pool idle thread count: 10, unprocessed jobs: 0
757s # Pool idle thread count: 10, unprocessed jobs: 0
757s # Pool idle thread count: 10, unprocessed jobs: 0
757s # Pool idle thread count: 10, unprocessed jobs: 2
757s # Pool idle thread count: 10, unprocessed jobs: 2
757s # Pool idle thread count: 8, unprocessed jobs: 0
757s # Pool idle thread count: 8, unprocessed jobs: 0
758s # Pool idle thread count: 10, unprocessed jobs: 0
758s # Pool idle thread count: 10, unprocessed jobs: 0
758s # Pool idle thread count: 10, unprocessed jobs: 0
758s # Pool idle thread count: 10, unprocessed jobs: 0
759s # Pool idle thread count: 10, unprocessed jobs: 0
759s # Pool idle thread count: 10, unprocessed jobs: 0
759s # Executing: glib/thread-pool-slow.test
760s # Pool idle thread count: 2, unprocessed jobs: 0
760s # Pool idle thread count: 2, unprocessed jobs: 0
760s # Pool idle thread count: 2, unprocessed jobs: 0
760s # Pool idle thread count: 2, unprocessed jobs: 0
761s # Pool idle thread count: 2, unprocessed jobs: 0
761s # Pool idle thread count: 2, unprocessed jobs: 0
761s # Pool idle thread count: 2, unprocessed jobs: 0
761s # Pool idle thread count: 2, unprocessed jobs: 0
762s # Pool idle thread count: 2, unprocessed jobs: 0
762s # Pool idle thread count: 2, unprocessed jobs: 0
762s # Pool idle thread count: 2, unprocessed jobs: 0
762s # Pool idle thread count: 2, unprocessed jobs: 0
763s # Pool idle thread count: 2, unprocessed jobs: 0
763s # Pool idle thread count: 2, unprocessed jobs: 0
763s # Pool idle thread count: 2, unprocessed jobs: 0
763s # Pool idle thread count: 2, unprocessed jobs: 0
764s # Pool idle thread count: 2, unprocessed jobs: 0
764s # Pool idle thread count: 2, unprocessed jobs: 0
764s # Pool idle thread count: 2, unprocessed jobs: 0
764s # Pool idle thread count: 2, unprocessed jobs: 0
764s # Executing: glib/thread-pool-slow.test
765s # Pool idle thread count: 2, unprocessed jobs: 0
765s # Pool idle thread count: 2, unprocessed jobs: 0
765s # Pool idle thread count: 2, unprocessed jobs: 0
765s # Pool idle thread count: 2, unprocessed jobs: 0
766s # Pool idle thread count: 2, unprocessed jobs: 0
766s # Pool idle thread count: 2, unprocessed jobs: 0
766s # Pool idle thread count: 2, unprocessed jobs: 0
766s # Pool idle thread count: 2, unprocessed jobs: 0
767s # Pool idle thread count: 2, unprocessed jobs: 0
767s # Pool idle thread count: 2, unprocessed jobs: 0
767s # Pool idle thread count: 2, unprocessed jobs: 0
767s # Pool idle thread count: 2, unprocessed jobs: 0
768s # Pool idle thread count: 2, unprocessed jobs: 0
768s # Pool idle thread count: 2, unprocessed jobs: 0
768s ok 7 /threadpool/idle-time
768s # slow test /threadpool/idle-time executed in 19.52 secs
768s # End of threadpool tests
768s TAP version 14
768s ok - glib/thread-pool-slow.test
768s # Running test: glib/bookmarkfile.test
768s # random seed: R02S3f6955d870e2bd2ec9abe3a1e20acfcc
768s 1..96
768s # Start of bookmarks tests
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/load-from-data-dirs/.dirs/runtime
768s ok 1 /bookmarks/load-from-data-dirs
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/to-file/.dirs/runtime
768s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_2OM5J3/bookmarkfile-test-DUL5J3.xbel
768s # Roundtrip from a valid bookmark file
768s ok 2 /bookmarks/to-file
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/move-item/.dirs/runtime
768s ok 3 /bookmarks/move-item
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/corner-cases/.dirs/runtime
768s ok 4 /bookmarks/corner-cases
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/misc/.dirs/runtime
768s ok 5 /bookmarks/misc
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/deprecated/.dirs/runtime
768s ok 6 /bookmarks/deprecated
768s # Start of parse tests
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-33.xbel/.dirs/runtime
768s ok 7 /bookmarks/parse/fail-33.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-35.xbel/.dirs/runtime
768s ok 8 /bookmarks/parse/fail-35.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-11.xbel/.dirs/runtime
768s ok 9 /bookmarks/parse/fail-11.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-20.xbel/.dirs/runtime
768s ok 10 /bookmarks/parse/fail-20.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-38.xbel/.dirs/runtime
768s ok 11 /bookmarks/parse/fail-38.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-07.xbel/.dirs/runtime
768s ok 12 /bookmarks/parse/fail-07.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-15.xbel/.dirs/runtime
768s ok 13 /bookmarks/parse/fail-15.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-02.xbel/.dirs/runtime
768s ok 14 /bookmarks/parse/fail-02.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-10.xbel/.dirs/runtime
768s ok 15 /bookmarks/parse/fail-10.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-22.xbel/.dirs/runtime
768s ok 16 /bookmarks/parse/fail-22.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-29.xbel/.dirs/runtime
768s ok 17 /bookmarks/parse/fail-29.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-31.xbel/.dirs/runtime
768s ok 18 /bookmarks/parse/fail-31.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-40.xbel/.dirs/runtime
768s ok 19 /bookmarks/parse/fail-40.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-14.xbel/.dirs/runtime
768s ok 20 /bookmarks/parse/fail-14.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-30.xbel/.dirs/runtime
768s ok 21 /bookmarks/parse/fail-30.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-36.xbel/.dirs/runtime
768s ok 22 /bookmarks/parse/fail-36.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-21.xbel/.dirs/runtime
768s ok 23 /bookmarks/parse/fail-21.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-25.xbel/.dirs/runtime
768s ok 24 /bookmarks/parse/fail-25.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-24.xbel/.dirs/runtime
768s ok 25 /bookmarks/parse/fail-24.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-13.xbel/.dirs/runtime
768s ok 26 /bookmarks/parse/fail-13.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-37.xbel/.dirs/runtime
768s ok 27 /bookmarks/parse/fail-37.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-01.xbel/.dirs/runtime
768s ok 28 /bookmarks/parse/fail-01.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-19.xbel/.dirs/runtime
768s ok 29 /bookmarks/parse/fail-19.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-09.xbel/.dirs/runtime
768s ok 30 /bookmarks/parse/fail-09.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-03.xbel/.dirs/runtime
768s ok 31 /bookmarks/parse/fail-03.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-39.xbel/.dirs/runtime
768s ok 32 /bookmarks/parse/fail-39.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-34.xbel/.dirs/runtime
768s ok 33 /bookmarks/parse/fail-34.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-17.xbel/.dirs/runtime
768s ok 34 /bookmarks/parse/fail-17.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-12.xbel/.dirs/runtime
768s ok 35 /bookmarks/parse/fail-12.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-42.xbel/.dirs/runtime
768s ok 36 /bookmarks/parse/fail-42.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-41.xbel/.dirs/runtime
768s ok 37 /bookmarks/parse/fail-41.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-03.xbel/.dirs/runtime
768s ok 38 /bookmarks/parse/valid-03.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-26.xbel/.dirs/runtime
768s ok 39 /bookmarks/parse/fail-26.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-05.xbel/.dirs/runtime
768s ok 40 /bookmarks/parse/fail-05.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-01.xbel/.dirs/runtime
768s ok 41 /bookmarks/parse/valid-01.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-18.xbel/.dirs/runtime
768s ok 42 /bookmarks/parse/fail-18.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-04.xbel/.dirs/runtime
768s ok 43 /bookmarks/parse/fail-04.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-28.xbel/.dirs/runtime
768s ok 44 /bookmarks/parse/fail-28.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-08.xbel/.dirs/runtime
768s ok 45 /bookmarks/parse/fail-08.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-27.xbel/.dirs/runtime
768s ok 46 /bookmarks/parse/fail-27.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-23.xbel/.dirs/runtime
768s ok 47 /bookmarks/parse/fail-23.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/valid-02.xbel/.dirs/runtime
768s ok 48 /bookmarks/parse/valid-02.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-06.xbel/.dirs/runtime
768s ok 49 /bookmarks/parse/fail-06.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-32.xbel/.dirs/runtime
768s ok 50 /bookmarks/parse/fail-32.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/parse/fail-16.xbel/.dirs/runtime
768s ok 51 /bookmarks/parse/fail-16.xbel
768s # End of parse tests
768s # Start of copy tests
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-33.xbel/.dirs/runtime
768s ok 52 /bookmarks/copy/fail-33.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-35.xbel/.dirs/runtime
768s ok 53 /bookmarks/copy/fail-35.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-11.xbel/.dirs/runtime
768s ok 54 /bookmarks/copy/fail-11.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-20.xbel/.dirs/runtime
768s ok 55 /bookmarks/copy/fail-20.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-38.xbel/.dirs/runtime
768s ok 56 /bookmarks/copy/fail-38.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-07.xbel/.dirs/runtime
768s ok 57 /bookmarks/copy/fail-07.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-15.xbel/.dirs/runtime
768s ok 58 /bookmarks/copy/fail-15.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-02.xbel/.dirs/runtime
768s ok 59 /bookmarks/copy/fail-02.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-10.xbel/.dirs/runtime
768s ok 60 /bookmarks/copy/fail-10.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-22.xbel/.dirs/runtime
768s ok 61 /bookmarks/copy/fail-22.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-29.xbel/.dirs/runtime
768s ok 62 /bookmarks/copy/fail-29.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-31.xbel/.dirs/runtime
768s ok 63 /bookmarks/copy/fail-31.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-40.xbel/.dirs/runtime
768s ok 64 /bookmarks/copy/fail-40.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-14.xbel/.dirs/runtime
768s ok 65 /bookmarks/copy/fail-14.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-30.xbel/.dirs/runtime
768s ok 66 /bookmarks/copy/fail-30.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-36.xbel/.dirs/runtime
768s ok 67 /bookmarks/copy/fail-36.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-21.xbel/.dirs/runtime
768s ok 68 /bookmarks/copy/fail-21.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-25.xbel/.dirs/runtime
768s ok 69 /bookmarks/copy/fail-25.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-24.xbel/.dirs/runtime
768s ok 70 /bookmarks/copy/fail-24.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-13.xbel/.dirs/runtime
768s ok 71 /bookmarks/copy/fail-13.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-37.xbel/.dirs/runtime
768s ok 72 /bookmarks/copy/fail-37.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-01.xbel/.dirs/runtime
768s ok 73 /bookmarks/copy/fail-01.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-19.xbel/.dirs/runtime
768s ok 74 /bookmarks/copy/fail-19.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-09.xbel/.dirs/runtime
768s ok 75 /bookmarks/copy/fail-09.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-03.xbel/.dirs/runtime
768s ok 76 /bookmarks/copy/fail-03.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-39.xbel/.dirs/runtime
768s ok 77 /bookmarks/copy/fail-39.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-34.xbel/.dirs/runtime
768s ok 78 /bookmarks/copy/fail-34.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-17.xbel/.dirs/runtime
768s ok 79 /bookmarks/copy/fail-17.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-12.xbel/.dirs/runtime
768s ok 80 /bookmarks/copy/fail-12.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-42.xbel/.dirs/runtime
768s ok 81 /bookmarks/copy/fail-42.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-41.xbel/.dirs/runtime
768s ok 82 /bookmarks/copy/fail-41.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-03.xbel/.dirs/runtime
768s ok 83 /bookmarks/copy/valid-03.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-26.xbel/.dirs/runtime
768s ok 84 /bookmarks/copy/fail-26.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-05.xbel/.dirs/runtime
768s ok 85 /bookmarks/copy/fail-05.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-01.xbel/.dirs/runtime
768s ok 86 /bookmarks/copy/valid-01.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-18.xbel/.dirs/runtime
768s ok 87 /bookmarks/copy/fail-18.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-04.xbel/.dirs/runtime
768s ok 88 /bookmarks/copy/fail-04.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-28.xbel/.dirs/runtime
768s ok 89 /bookmarks/copy/fail-28.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-08.xbel/.dirs/runtime
768s ok 90 /bookmarks/copy/fail-08.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/system-config2
768s ok - glib/bookmarkfile.test
768s # Running test: glib/boxed.test
768s ok - glib/boxed.test
768s # Running test: glib/atomic-c-99.test
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-27.xbel/.dirs/runtime
768s ok 91 /bookmarks/copy/fail-27.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-23.xbel/.dirs/runtime
768s ok 92 /bookmarks/copy/fail-23.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/valid-02.xbel/.dirs/runtime
768s ok 93 /bookmarks/copy/valid-02.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-06.xbel/.dirs/runtime
768s ok 94 /bookmarks/copy/fail-06.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-32.xbel/.dirs/runtime
768s ok 95 /bookmarks/copy/fail-32.xbel
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_2OM5J3/bookmarks/copy/fail-16.xbel/.dirs/runtime
768s ok 96 /bookmarks/copy/fail-16.xbel
768s # End of copy tests
768s # End of bookmarks tests
768s TAP version 14
768s # random seed: R02Sb5c120c0e10c9c1ca02783a28994c885
768s 1..27
768s # Start of boxed tests
768s ok 1 /boxed/define
768s ok 2 /boxed/ownership
768s ok 3 /boxed/closure
768s ok 4 /boxed/date
768s ok 5 /boxed/value
768s ok 6 /boxed/string
768s ok 7 /boxed/hashtable
768s ok 8 /boxed/array
768s ok 9 /boxed/ptrarray
768s ok 10 /boxed/regex
768s ok 11 /boxed/varianttype
768s ok 12 /boxed/error
768s ok 13 /boxed/datetime
768s ok 14 /boxed/matchinfo
768s ok 15 /boxed/keyfile
768s ok 16 /boxed/mainloop
768s ok 17 /boxed/maincontext
768s ok 18 /boxed/source
768s ok 19 /boxed/variantbuilder
768s ok 20 /boxed/timezone
768s ok 21 /boxed/pollfd
768s ok 22 /boxed/markup
768s ok 23 /boxed/thread
768s ok 24 /boxed/checksum
768s ok 25 /boxed/tree
768s ok 26 /boxed/patternspec
768s ok 27 /boxed/rand
768s # End of boxed tests
768s TAP version 14
768s # random seed: R02Sc0beabc6ac045df80fcb5c76fe3163d9
768s 1..2
768s # Start of atomic tests
768s ok 1 /atomic/types
768s ok 2 /atomic/threaded
768s # End of atomic tests
768s ok - glib/atomic-c-99.test
768s # Running test: glib/sleepy-stream.test
768s TAP version 14
768s # random seed: R02S379a696a650152f66a7861581b4731d7
768s 1..2
768s # Start of filter-stream tests
768s ok 1 /filter-stream/input
768s ok 2 /filter-stream/async
768s # End of filter-stream tests
768s ok - glib/sleepy-stream.test
768s # Running test: glib/portal-support-snap-classic.test
768s TAP version 14
768s # random seed: R02Sf4cc8075bb3f10fa5bb88b14c4f1babb
768s 1..3
768s # Start of portal-support tests
768s # Start of snap-classic tests
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl/.dirs/runtime
768s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/no-snapctl: No such file or directory
768s ok 1 /portal-support/snap-classic/no-snapctl
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/runtime
768s # Created snap.yaml in /tmp/test_portal-support-snap-classic_DR2DK3/meta/snap.yaml
768s # Created snapctl in /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none/.dirs/runtime/snapctl
768s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/none: No such file or directory
768s ok 2 /portal-support/snap-classic/none
768s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/home
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/cache
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/system-config2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/config
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/system-data2
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/data
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/state
768s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/runtime
768s # Created snap.yaml in /tmp/test_portal-support-snap-classic_DR2DK3/meta/snap.yaml
768s # Created snapctl in /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all/.dirs/runtime/snapctl
768s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_DR2DK3/portal-support/snap-classic/all: No such file or directory
768s ok 3 /portal-support/snap-classic/all
768s # End of snap-classic tests
768s # End of portal-support tests
768s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_DR2DK3: No such file or directory
768s ok - glib/portal-support-snap-classic.test
768s # Running test: glib/node.test
768s TAP version 14
768s # random seed: R02S33b512984058ce670c691d859b088c24
768s 1..6
768s # Start of node tests
768s ok 1 /node/allocation
768s ok 2 /node/construction
768s ok 3 /node/traversal
768s ok 4 /node/misc
768s ok 5 /node/unlink
768s ok 6 /node/copy
768s # End of node tests
768s ok - glib/node.test
768s # Running test: glib/testing-nonfatal.test
768s TAP version 14
768s # random seed: R02S820ab610d0de0c0893d25f9ff332d351
768s **
768s 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?")
768s # 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?")
768s ok - glib/testing-nonfatal.test
768s # Running test: glib/ir-parser.test
768s TAP version 14
768s # random seed: R02Se40805eaef0cac300af65583d289499d
768s 1..1
768s # Start of ir-parser tests
768s # /ir-parser/type-parsing summary: Test parsing different valid and invalid types
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG: pushing node 1 dummy
768s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG: popping node 1 dummy
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG: pushing node 1 dummy
768s # GLib-GIRepository-DEBUG: Parsed type: GLib.Error => 20
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG: popping node 1 dummy
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG:
768s # GLib-GIRepository-DEBUG: pushing node 1 dummy
768s # GLib-GIRepository-DEBUG: Failed to parse type: 'GLib.Error4GB file test
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/load-contents-4gb/.dirs/runtime
774s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/load-contents-4gb-async/.dirs/runtime
774s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/.dirs/runtime
774s ok 25 /file/writev
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/build-attribute-list-for-copy/.dirs/runtime
774s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
774s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
774s # 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::*
774s # 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::*
774s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
774s # Attributes for copy: standard::size,xattr::*
774s # Attributes for copy: standard::size,unix::mode,xattr::*
774s ok 26 /file/build-attribute-list-for-copy
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/move_async/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/move_async/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/move_async/.dirs/system-config1:/tmp/test_file_43J4J3/file/move_async/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/move_async/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/move_async/.dirs/system-data1:/tmp/test_file_43J4J3/file/move_async/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/move_async/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/move_async/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/move_async/.dirs/runtime
774s ok 27 /file/move_async
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/move-async-with-closures/.dirs/runtime
774s ok 28 /file/move-async-with-closures
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/query-zero-length-content-type/.dirs/runtime
774s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
774s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
774s ok 29 /file/query-zero-length-content-type
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/runtime
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/data/applications
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/config
774s ok 30 /file/query-default-handler-file
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/runtime
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/data/applications
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config
774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_43J4J3/file/query-default-handler-file/.dirs/config to /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config
774s ok 31 /file/query-default-handler-file-async
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/runtime
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/data/applications
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config
774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_43J4J3/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config
774s ok 32 /file/query-default-handler-uri
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/runtime
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/data/applications
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/config
774s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_43J4J3/file/query-default-handler-uri/.dirs/config to /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/config
774s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_43J4J3/file/query-default-handler-uri-async/.dirs/config
774s ok 33 /file/query-default-handler-uri-async
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/enumerator-cancellation/.dirs/runtime
774s ok 34 /file/enumerator-cancellation
774s # Start of async-create-delete tests
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/async-create-delete/0/.dirs/runtime
774s ok 35 /file/async-create-delete/0
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/async-create-delete/1/.dirs/runtime
774s # Executing: glib/file.test
774s ok 36 /file/async-create-delete/1
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/async-create-delete/10/.dirs/runtime
774s ok 37 /file/async-create-delete/10
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/async-create-delete/25/.dirs/runtime
774s ok 38 /file/async-create-delete/25
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/async-create-delete/4096/.dirs/runtime
774s ok 39 /file/async-create-delete/4096
774s # End of async-create-delete tests
774s # Start of replace-symlink tests
774s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/home
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/cache
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/system-config2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/config
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/system-data2
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/data
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/state
774s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/replace-symlink/using-etag/.dirs/runtime
774s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
774s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
774s # Using temporary directory /tmp/test_file_43J4J3/g_file_replace_symlink_using_etag_Q9NIK3
776s ok 40 /file/replace-symlink/using-etag
776s # slow test /file/replace-symlink/using-etag executed in 2.00 secs
776s # End of replace-symlink tests
776s # Start of replace tests
776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/home
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/cache
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/system-config1:/tmp/test_file_43J4J3/file/replace/write-only/.dirs/system-config2
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/config
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/system-data1:/tmp/test_file_43J4J3/file/replace/write-only/.dirs/system-data2
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/data
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/state
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/replace/write-only/.dirs/runtime
776s # /file/replace/write-only summary: Test various situations for g_file_replace()
776s # Current umask: 2
776s # Test 0, using temporary directory /tmp/test_file_43J4J3/g_file_replace_TBKIK3
776s # Test 1, using temporary directory /tmp/test_file_43J4J3/g_file_replace_U8LIK3
776s # Test 2, using temporary directory /tmp/test_file_43J4J3/g_file_replace_CSGIK3
776s # Test 3, using temporary directory /tmp/test_file_43J4J3/g_file_replace_HZEIK3
776s # Test 4, using temporary directory /tmp/test_file_43J4J3/g_file_replace_2REIK3
776s # Test 5, using temporary directory /tmp/test_file_43J4J3/g_file_replace_NRDIK3
776s # Test 6, using temporary directory /tmp/test_file_43J4J3/g_file_replace_RNFIK3
776s # Test 7, using temporary directory /tmp/test_file_43J4J3/g_file_replace_BADIK3
776s # Test 8, using temporary directory /tmp/test_file_43J4J3/g_file_replace_ABCIK3
776s # Test 9, using temporary directory /tmp/test_file_43J4J3/g_file_replace_MZBIK3
776s # Test 10, using temporary directory /tmp/test_file_43J4J3/g_file_replace_P89HK3
776s # Test 11, using temporary directory /tmp/test_file_43J4J3/g_file_replace_YOIJK3
776s # Test 12, using temporary directory /tmp/test_file_43J4J3/g_file_replace_UAJJK3
776s # Test 13, using temporary directory /tmp/test_file_43J4J3/g_file_replace_WCJJK3
776s # Test 14, using temporary directory /tmp/test_file_43J4J3/g_file_replace_3CKJK3
776s # Test 15, using temporary directory /tmp/test_file_43J4J3/g_file_replace_X3HJK3
776s # Test 16, using temporary directory /tmp/test_file_43J4J3/g_file_replace_6JCJK3
776s # Test 17, using temporary directory /tmp/test_file_43J4J3/g_file_replace_U79IK3
776s # Test 18, using temporary directory /tmp/test_file_43J4J3/g_file_replace_17BJK3
776s # Test 19, using temporary directory /tmp/test_file_43J4J3/g_file_replace_DW6IK3
776s # Test 20, using temporary directory /tmp/test_file_43J4J3/g_file_replace_5R8IK3
776s # Test 21, using temporary directory /tmp/test_file_43J4J3/g_file_replace_9F5IK3
776s # Test 22, using temporary directory /tmp/test_file_43J4J3/g_file_replace_POZIK3
776s # Test 23, using temporary directory /tmp/test_file_43J4J3/g_file_replace_AC0IK3
776s # Test 24, using temporary directory /tmp/test_file_43J4J3/g_file_replace_I1XIK3
776s # Test 25, using temporary directory /tmp/test_file_43J4J3/g_file_replace_FUYIK3
776s # Test 26, using temporary directory /tmp/test_file_43J4J3/g_file_replace_1NYIK3
776s # Test 27, using temporary directory /tmp/test_file_43J4J3/g_file_replace_JX8JK3
776s # Test 28, using temporary directory /tmp/test_file_43J4J3/g_file_replace_XMAKK3
776s # Test 29, using temporary directory /tmp/test_file_43J4J3/g_file_replace_444JK3
776s # Test 30, using temporary directory /tmp/test_file_43J4J3/g_file_replace_4Y4JK3
776s # Test 31, using temporary directory /tmp/test_file_43J4J3/g_file_replace_DE5JK3
776s # Test 32, using temporary directory /tmp/test_file_43J4J3/g_file_replace_402JK3
776s # Test 33, using temporary directory /tmp/test_file_43J4J3/g_file_replace_9GZJK3
776s # Test 34, using temporary directory /tmp/test_file_43J4J3/g_file_replace_I9YJK3
776s # Test 35, using temporary directory /tmp/test_file_43J4J3/g_file_replace_ZXZJK3
776s # Test 36, using temporary directory /tmp/test_file_43J4J3/g_file_replace_NBWJK3
776s # Test 37, using temporary directory /tmp/test_file_43J4J3/g_file_replace_7OXJK3
776s # Test 38, using temporary directory /tmp/test_file_43J4J3/g_file_replace_95RJK3
776s # Test 39, using temporary directory /tmp/test_file_43J4J3/g_file_replace_D2PJK3
776s # Test 40, using temporary directory /tmp/test_file_43J4J3/g_file_replace_PSRJK3
776s # Test 41, using temporary directory /tmp/test_file_43J4J3/g_file_replace_ILOJK3
776s # Test 42, using temporary directory /tmp/test_file_43J4J3/g_file_replace_94AFK3
776s # Test 43, using temporary directory /tmp/test_file_43J4J3/g_file_replace_OXCFK3
776s # Test 44, using temporary directory /tmp/test_file_43J4J3/g_file_replace_787EK3
776s # Test 45, using temporary directory /tmp/test_file_43J4J3/g_file_replace_HHAFK3
776s # Test 46, using temporary directory /tmp/test_file_43J4J3/g_file_replace_T04EK3
776s # Test 47, using temporary directory /tmp/test_file_43J4J3/g_file_replace_6Q4EK3
776s # Test 48, using temporary directory /tmp/test_file_43J4J3/g_file_replace_SM2EK3
776s # We do not have CAP_DAC_OVERRIDE or equivalent
776s ok 41 /file/replace/write-only
776s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/home
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/cache
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/system-config1:/tmp/test_file_43J4J3/file/replace/read-write/.dirs/system-config2
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/config
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/system-data1:/tmp/test_file_43J4J3/file/replace/read-write/.dirs/system-data2
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/data
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/state
776s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/replace/read-write/.dirs/runtime
776s # /file/replace/read-write summary: Test various situations for g_file_replace()
776s # Current umask: 2
776s # Test 0, using temporary directory /tmp/test_file_43J4J3/g_file_replace_I02EK3
776s # Test 1, using temporary directory /tmp/test_file_43J4J3/g_file_replace_6U2EK3
776s # Test 2, using temporary directory /tmp/test_file_43J4J3/g_file_replace_XEZEK3
776s # Test 3, using temporary directory /tmp/test_file_43J4J3/g_file_replace_45ZEK3
776s # Test 4, using temporary directory /tmp/test_file_43J4J3/g_file_replace_V3ZEK3
776s # Test 5, using temporary directory /tmp/test_file_43J4J3/g_file_replace_CJ0EK3
776s # Test 6, using temporary directory /tmp/test_file_43J4J3/g_file_replace_7JVEK3
776s # Test 7, using temporary directory /tmp/test_file_43J4J3/g_file_replace_T6WEK3
776s # Test 8, using temporary directory /tmp/test_file_43J4J3/g_file_replace_T6SEK3
776s # Test 9, using temporary directory /tmp/test_file_43J4J3/g_file_replace_7WSEK3
776s # Test 10, using temporary directory /tmp/test_file_43J4J3/g_file_replace_WYTEK3
776s # Test 11, using temporary directory /tmp/test_file_43J4J3/g_file_replace_PBPEK3
776s # Test 12, using temporary directory /tmp/test_file_43J4J3/g_file_replace_VHREK3
776s # Test 13, using temporary directory /tmp/test_file_43J4J3/g_file_replace_69QEK3
776s # Test 14, using temporary directory /tmp/test_file_43J4J3/g_file_replace_HD0FK3
776s # Test 15, using temporary directory /tmp/test_file_43J4J3/g_file_replace_74XFK3
776s # Test 16, using temporary directory /tmp/test_file_43J4J3/g_file_replace_QLXFK3
776s # Test 17, using temporary directory /tmp/test_file_43J4J3/g_file_replace_SIVFK3
776s # Test 18, using temporary directory /tmp/test_file_43J4J3/g_file_replace_PAWFK3
776s # Test 19, using temporary directory /tmp/test_file_43J4J3/g_file_replace_DWTFK3
776s # Test 20, using temporary directory /tmp/test_file_43J4J3/g_file_replace_9SNFK3
776s # Test 21, using temporary directory /tmp/test_file_43J4J3/g_file_replace_1HPFK3
776s # Test 22, using temporary directory /tmp/test_file_43J4J3/g_file_replace_WMKFK3
776s # Test 23, using temporary directory /tmp/test_file_43J4J3/g_file_replace_FALFK3
776s # Test 24, using temporary directory /tmp/test_file_43J4J3/g_file_replace_RSIFK3
776s # Test 25, using temporary directory /tmp/test_file_43J4J3/g_file_replace_XYIFK3
776s # Test 26, using temporary directory /tmp/test_file_43J4J3/g_file_replace_QLJFK3
776s # Test 27, using temporary directory /tmp/test_file_43J4J3/g_file_replace_UFJFK3
776s # Test 28, using temporary directory /tmp/test_file_43J4J3/g_file_replace_HPGFK3
776s # Test 29, using temporary directory /tmp/test_file_43J4J3/g_file_replace_J7PGK3
776s # Test 30, using temporary directory /tmp/test_file_43J4J3/g_file_replace_MDSGK3
776s # Test 31, using temporary directory /tmp/test_file_43J4J3/g_file_replace_B0RGK3
776s # Test 32, using temporary directory /tmp/test_file_43J4J3/g_file_replace_IMRGK3
776s # Test 33, using temporary directory /tmp/test_file_43J4J3/g_file_replace_MLPGK3
776s # Test 34, using temporary directory /tmp/test_file_43J4J3/g_file_replace_TEPGK3
776s # Test 35, using temporary directory /tmp/test_file_43J4J3/g_file_replace_OAOGK3
776s # Test 36, using temporary directory /tmp/test_file_43J4J3/g_file_replace_HVJGK3
776s # Test 37, using temporary directory /tmp/test_file_43J4J3/g_file_replace_BGHGK3
776s # Test 38, using temporary directory /tmp/test_file_43J4J3/g_file_replace_01DGK3
776s # Test 39, using temporary directory /tmp/test_file_43J4J3/g_file_replace_J2FGK3
776s # Test 40, using temporary directory /tmp/test_file_43J4J3/g_file_replace_QIAGK3
777s # Test 41, using temporary directory /tmp/test_file_43J4J3/g_file_replace_V27FK3
777s # Test 42, using temporary directory /tmp/test_file_43J4J3/g_file_replace_OY8FK3
777s # Test 43, using temporary directory /tmp/test_file_43J4J3/g_file_replace_D35FK3
777s # Test 44, using temporary directory /tmp/test_file_43J4J3/g_file_replace_GQFHK3
777s # Test 45, using temporary directory /tmp/test_file_43J4J3/g_file_replace_NCFHK3
777s # Test 46, using temporary directory /tmp/test_file_43J4J3/g_file_replace_ANGHK3
777s # Test 47, using temporary directory /tmp/test_file_43J4J3/g_file_replace_Z5GHK3
777s # Test 48, using temporary directory /tmp/test_file_43J4J3/g_file_replace_JHEHK3
777s # We do not have CAP_DAC_OVERRIDE or equivalent
777s ok 42 /file/replace/read-write
777s # End of replace tests
777s # Start of copy tests
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/copy/progress/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/copy/progress/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/copy/progress/.dirs/system-config1:/tmp/test_file_43J4J3/file/copy/progress/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/copy/progress/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/copy/progress/.dirs/system-data1:/tmp/test_file_43J4J3/file/copy/progress/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/copy/progress/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/copy/progress/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/copy/progress/.dirs/runtime
777s ok 43 /file/copy/progress
777s # End of copy tests
777s # Start of writev tests
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/no-bytes-written/.dirs/runtime
777s ok 44 /file/writev/no-bytes-written
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/no-vectors/.dirs/runtime
777s ok 45 /file/writev/no-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/empty-vectors/.dirs/runtime
777s ok 46 /file/writev/empty-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/too-big-vectors/.dirs/runtime
777s ok 47 /file/writev/too-big-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async/.dirs/runtime
777s ok 48 /file/writev/async
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async_all/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async_all/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async_all/.dirs/runtime
777s ok 49 /file/writev/async_all
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async_all-empty-vectors/.dirs/runtime
777s ok 50 /file/writev/async_all-empty-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async_all-no-vectors/.dirs/runtime
777s ok 51 /file/writev/async_all-no-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async_all-to-big-vectors/.dirs/runtime
777s ok 52 /file/writev/async_all-to-big-vectors
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/writev/async_all-cancellation/.dirs/runtime
777s ok 53 /file/writev/async_all-cancellation
777s # End of writev tests
777s # Start of from-uri tests
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/from-uri/ignores-query-string/.dirs/runtime
777s ok 54 /file/from-uri/ignores-query-string
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_43J4J3/file/from-uri/ignores-fragment/.dirs/runtime
777s ok 55 /file/from-uri/ignores-fragment
777s # End of from-uri tests
777s # End of file tests
777s ok - glib/file.test
777s # Running test: glib/gutils-user-database.test
777s TAP version 14
777s # random seed: R02Saa4138e7524c7ec37bbb86a4f77cc223
777s 1..1
777s # Start of gutils tests
777s ok 1 /gutils/get_user_database_entry
777s # End of gutils tests
777s ok - glib/gutils-user-database.test
777s # Running test: glib/network-monitor.test
777s TAP version 14
777s # random seed: R02S3e0a096f17f78301c8380825eb3b15ff
777s 1..4
777s # Start of network-monitor tests
777s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
777s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
777s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ‘gio-network-monitor’
777s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
777s ok 1 /network-monitor/default
777s ok 2 /network-monitor/remove_default
777s ok 3 /network-monitor/add_networks
777s ok 4 /network-monitor/remove_networks
777s # End of network-monitor tests
777s ok - glib/network-monitor.test
777s # Running test: glib/g-file-info.test
777s TAP version 14
777s # random seed: R02Sf98f686d4349f309471a950d589af982
777s 1..6
777s # Start of g-file-info tests
777s ok - glib/g-file-info.test
777s ok 1 /g-file-info/test_g_file_info
777s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
777s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
777s ok 2 /g-file-info/xattrs
777s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
777s ok 3 /g-file-info/set-modified-date-time-precision
777s # Start of test_g_file_info tests
777s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
777s ok 4 /g-file-info/test_g_file_info/modification-time
777s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
777s ok 5 /g-file-info/test_g_file_info/access-time
777s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
777s ok 6 /g-file-info/test_g_file_info/creation-time
777s # End of test_g_file_info tests
777s # End of g-file-info tests
777s # Running test: glib/gdbus-connection.test
777s TAP version 14
777s # random seed: R02S734aaa1b0f8372e4d78f566d363fada3
777s 1..9
777s # Start of gdbus tests
777s # Start of connection tests
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/bus-failure/.dirs/runtime
777s ok 1 /gdbus/connection/bus-failure
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/basic/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 2 /gdbus/connection/basic
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/life-cycle/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 3 /gdbus/connection/life-cycle
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/send/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 4 /gdbus/connection/send
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signals/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 5 /gdbus/connection/signals
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/signal-match-rules/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 6 /gdbus/connection/signal-match-rules
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/filter/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 7 /gdbus/connection/filter
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/serials/.dirs/runtime
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 8 /gdbus/connection/serials
777s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/home
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/cache
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/system-config2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/config
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/system-data2
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/data
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/state
777s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_ELINK3/gdbus/connection/cancel/.dirs/runtime
777s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 9 /gdbus/connection/cancel
777s # End of connection tests
777s # End of gdbus tests
777s ok - glib/gdbus-connection.test
777s # Running test: glib/memory-monitor.test
777s TAP version 14
777s # random seed: R02Sda5578cba77463392d2c3e1659eb3e3b
777s 1..1
777s # Start of memory-monitor tests
777s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
777s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ‘gio-memory-monitor’
777s ok 1 /memory-monitor/default
777s # End of memory-monitor tests
777s ok - glib/memory-monitor.test
777s # Running test: glib/unix-fd.test
777s TAP version 14
777s # random seed: R02Sc6e1f74593c1b9adbc949db926f4c34e
777s 1..2
777s # Start of unix-fd tests
777s ok 1 /unix-fd/fd-list
777s ok 2 /unix-fd/scm
777s # End of unix-fd tests
777s ok - glib/unix-fd.test
777s # Running test: glib/proxy-test.test
777s TAP version 14
777s # random seed: R02S08a396cb243b7097f16a24f80f0b7603
777s 1..11
777s # Start of proxy tests
777s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ‘gio-proxy-resolver’
777s ok 1 /proxy/direct_sync
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb383f50 and GSocketClientAsyncConnectData 0xc86cfb383470
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb384a70 for GSocketClientAsyncConnectData 0xc86cfb383470
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s ok 2 /proxy/direct_async
777s ok 3 /proxy/single_sync
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384530 and GSocketClientAsyncConnectData 0xc86cfb383470
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb385bd0 for GSocketClientAsyncConnectData 0xc86cfb383470
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s ok 4 /proxy/single_async
777s ok 5 /proxy/multiple_sync
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384820 and GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb386110 for GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb3860b0 for GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s ok 6 /proxy/multiple_async
777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
777s ok 7 /proxy/invalid-uris-sync
777s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384410 and GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384530 and GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384410 and GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb384ad0 for GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384530 and GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb386310 for GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s ok 8 /proxy/invalid-uris-async
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb383f50 and GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
777s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb386430 and GSocketClientAsyncConnectData 0xc86cfb3849c0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb385a30 for GSocketClientAsyncConnectData 0xc86cfb3849c0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384410 and GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb384ad0 for GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s ok 9 /proxy/dns
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb383f50 and GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb384ad0 for GSocketClientAsyncConnectData 0xc86cfb3847b0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb384410 and GSocketClientAsyncConnectData 0xc86cfb3845f0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb385a30 for GSocketClientAsyncConnectData 0xc86cfb3845f0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
777s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
777s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc86cfb383f50 and GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
777s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc86cfb386110 for GSocketClientAsyncConnectData 0xc86cfb3862a0
777s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
777s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
777s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
777s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
777s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
777s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
777s ok 10 /proxy/override
777s ok 11 /proxy/enumerator-ports
777s # End of proxy tests
777s ok - glib/proxy-test.test
777s # Running test: glib/buffered-output-stream.test
777s TAP version 14
777s # random seed: R02Sd11884ad45aba565231661383a502763
777s 1..5
777s # Start of buffered-output-stream tests
777s ok 1 /buffered-output-stream/write
777s ok 2 /buffered-output-stream/grow
777s ok 3 /buffered-output-stream/seek
777s ok 4 /buffered-output-stream/truncate
777s # End of buffered-output-stream tests
777s # Start of filter-output-stream tests
777s ok 5 /filter-output-stream/close
777s # End of filter-output-stream tests
777s ok - glib/buffered-output-stream.test
777s # Running test: glib/actions.test
777s TAP version 14
777s # random seed: R02S2860b5604440d3b89ab744bdfe7ce11a
777s 1..13
777s # Start of actions tests
777s ok 1 /actions/basic
777s ok 2 /actions/name
777s ok 3 /actions/simplegroup
777s ok 4 /actions/stateful
777s ok 5 /actions/default-activate
777s ok 6 /actions/entries
777s ok 7 /actions/parse-detailed
777s ok 8 /actions/property
777s ok 9 /actions/no-properties
777s # Start of dbus tests
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s ok 10 /actions/dbus/export
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
777s # GLib-DEBUG: setenv()/putenv() are 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: unsetenv() is not thread-safe and should not be used after threads are created
778s ok 11 /actions/dbus/threaded
778s # slow test /actions/dbus/threaded executed in 1.19 secs
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
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 12 /actions/dbus/bug679509
778s # Start of export tests
778s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
778s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
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
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 13 /actions/dbus/export/error-handling
778s # End of export tests
778s # End of dbus tests
778s # End of actions tests
778s ok - glib/actions.test
778s # Running test: glib/tls-certificate.test
778s TAP version 14
778s # random seed: R02S16e30ab3aadc3b041a5410bd9fe686ac
778s 1..19
778s # Start of tls-certificate tests
778s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ‘gio-tls-backend’
778s ok 1 /tls-certificate/pem-parser
778s ok 2 /tls-certificate/pem-parser-handles-chain
778s ok 3 /tls-certificate/from_file
778s ok 4 /tls-certificate/from_files
778s ok 5 /tls-certificate/from_files_crlf
778s ok 6 /tls-certificate/from_files_pkcs8
778s ok 7 /tls-certificate/from_files_pkcs8enc
778s ok 8 /tls-certificate/list_from_file
778s ok 9 /tls-certificate/pkcs11-uri
778s ok 10 /tls-certificate/pkcs11-uri-unsupported
778s ok 11 /tls-certificate/from_pkcs12
778s ok 12 /tls-certificate/from_pkcs12_file
778s ok 13 /tls-certificate/not-valid-before
778s ok 14 /tls-certificate/not-valid-after
778s ok 15 /tls-certificate/subject-name
778s ok 16 /tls-certificate/issuer-name
778s ok 17 /tls-certificate/dns-names
778s ok 18 /tls-certificate/ip-addresses
778s ok 19 /tls-certificate/pem-parser-no-sentinel
778s # End of tls-certificate tests
778s TAP version 14
778s # random seed: R02S9274bce6fb51647505679738f8938a34
778s 1..1
778s # Start of power-profile-monitor tests
778s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
778s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
778s ok 1 /power-profile-monitor/default
778s # End of power-profile-monitor tests
778s ok - glib/tls-certificate.test
778s # Running test: glib/power-profile-monitor.test
778s ok - glib/power-profile-monitor.test
778s # Running test: glib/socket-listener.test
778s TAP version 14
778s # random seed: R02Sfb762b210ea374a46d04c5bb14dbf5af
778s 1..4
778s # Start of socket-listener tests
778s ok 1 /socket-listener/event-signal
778s # Start of accept tests
778s # /socket-listener/accept/multi-simultaneously summary: Test that accepting multiple pending connections on the same GMainContext iteration works
778s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3739
778s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ‘gio-proxy-resolver’
778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1288013a4f0 and GSocketClientAsyncConnectData 0xc12880135980
778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1288013cb80 and GSocketClientAsyncConnectData 0xc1288013c9d0
778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1288013d3a0 and GSocketClientAsyncConnectData 0xc1288013d120
778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1288013dc20 and GSocketClientAsyncConnectData 0xc1288013d9a0
778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
778s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1288013e440 and GSocketClientAsyncConnectData 0xc1288013e1c0
778s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc12880140980 for GSocketClientAsyncConnectData 0xc12880135980
778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc12880142af0 for GSocketClientAsyncConnectData 0xc1288013c9d0
778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc128801432a0 for GSocketClientAsyncConnectData 0xc1288013d120
778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc12880143940 for GSocketClientAsyncConnectData 0xc1288013d9a0
778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
778s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
778s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc12880140020 for GSocketClientAsyncConnectData 0xc1288013e1c0
778s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
778s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
778s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
778s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
778s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
778s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
778s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
778s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
778s ok 2 /socket-listener/accept/multi-simultaneously
778s # End of accept tests
778s # Start of add-any-inet-port tests
778s # /socket-listener/add-any-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds
778s # Test 0
778s # Test 1
778s # Test 2
778s # Test 3
778s # Test 4
778s # Test 5
778s # Test 6
778s # Test 7
778s # Test 8
778s # Test 9
778s # Test 10
778s ok 3 /socket-listener/add-any-inet-port/listen-failures
778s # End of add-any-inet-port tests
778s # Start of add-inet-port tests
778s # /socket-listener/add-inet-port/listen-failures summary: Test that adding a listening port succeeds if either listening on IPv4 or IPv6 succeeds
778s # Test 0
778s # Test 1
778s # Test 2
778s # Test 3
778s # Test 4
778s # Test 5
778s # Test 6
778s # Test 7
778s ok - glib/socket-listener.test
778s # Running test: glib/array-test.test
778s # Test 8
778s # Test 9
778s # Test 10
778s ok 4 /socket-listener/add-inet-port/listen-failures
778s # End of add-inet-port tests
778s # End of socket-listener tests
778s TAP version 14
778s # random seed: R02Sf571b25aeb2ed676b2782520b78b0afc
778s 1..120
778s # Start of array tests
778s ok 1 /array/ref-count
778s ok 2 /array/steal
778s ok 3 /array/clear-func
778s ok 4 /array/binary-search
778s ok 5 /array/overflow-append-vals
778s ok 6 /array/overflow-set-size
778s # Start of new tests
778s ok 7 /array/new/zero-terminated
778s ok 8 /array/new/take
778s ok 9 /array/new/take-zero-terminated
778s # Start of take tests
778s ok 10 /array/new/take/empty
778s ok 11 /array/new/take/overflow
778s ok 12 /array/new/take/zero-size
778s # End of take tests
778s # Start of take-zero-terminated tests
778s ok 13 /array/new/take-zero-terminated/zero-size
778s ok 14 /array/new/take-zero-terminated/null
778s # End of take-zero-terminated tests
778s # End of new tests
778s # Start of copy tests
778s # /array/copy/sized summary: Test that copying a newly-allocated sized array works.
778s ok 15 /array/copy/sized
778s ok 16 /array/copy/zero-terminated
778s ok 17 /array/copy/non-zero-terminated-no-clear
778s ok 18 /array/copy/non-zero-terminated-clear
778s ok 19 /array/copy/zero-terminated-no-clear
778s ok 20 /array/copy/zero-terminated-clear
778s # End of copy tests
778s # Start of remove-range tests
778s ok 21 /array/remove-range/zero-terminated-null
778s ok 22 /array/remove-range/non-zero-terminated-no-clear
778s ok 23 /array/remove-range/non-zero-terminated-clear
778s ok 24 /array/remove-range/zero-terminated-no-clear
778s ok 25 /array/remove-range/zero-terminated-clear
778s # End of remove-range tests
778s # Start of set-size tests
778s ok 26 /array/set-size/zero-terminated-null
778s ok 27 /array/set-size/non-zero-terminated-no-clear
778s ok 28 /array/set-size/non-zero-terminated-clear
778s ok 29 /array/set-size/zero-terminated-no-clear
778s ok 30 /array/set-size/zero-terminated-clear
778s # Start of sized tests
778s ok 31 /array/set-size/sized/non-zero-terminated-no-clear
778s ok 32 /array/set-size/sized/non-zero-terminated-clear
778s ok 33 /array/set-size/sized/zero-terminated-no-clear
778s ok 34 /array/set-size/sized/zero-terminated-clear
778s # End of sized tests
778s # End of set-size tests
778s # Start of append-val tests
778s ok 35 /array/append-val/non-zero-terminated-no-clear
778s ok 36 /array/append-val/non-zero-terminated-clear
778s ok 37 /array/append-val/zero-terminated-no-clear
778s ok 38 /array/append-val/zero-terminated-clear
778s # End of append-val tests
778s # Start of prepend-val tests
778s ok 39 /array/prepend-val/non-zero-terminated-no-clear
778s ok 40 /array/prepend-val/non-zero-terminated-clear
778s ok 41 /array/prepend-val/zero-terminated-no-clear
778s ok 42 /array/prepend-val/zero-terminated-clear
778s # End of prepend-val tests
778s # Start of prepend-vals tests
778s ok 43 /array/prepend-vals/non-zero-terminated-no-clear
778s ok 44 /array/prepend-vals/non-zero-terminated-clear
778s ok 45 /array/prepend-vals/zero-terminated-no-clear
778s ok 46 /array/prepend-vals/zero-terminated-clear
778s # End of prepend-vals tests
778s # Start of insert-vals tests
778s ok 47 /array/insert-vals/non-zero-terminated-no-clear
778s ok 48 /array/insert-vals/non-zero-terminated-clear
778s ok 49 /array/insert-vals/zero-terminated-no-clear
778s ok 50 /array/insert-vals/zero-terminated-clear
778s # End of insert-vals tests
778s # Start of remove-index tests
778s ok 51 /array/remove-index/non-zero-terminated-no-clear
778s ok 52 /array/remove-index/non-zero-terminated-clear
778s ok 53 /array/remove-index/zero-terminated-no-clear
778s ok 54 /array/remove-index/zero-terminated-clear
778s # End of remove-index tests
778s # Start of remove-index-fast tests
778s ok 55 /array/remove-index-fast/non-zero-terminated-no-clear
778s ok 56 /array/remove-index-fast/non-zero-terminated-clear
778s ok 57 /array/remove-index-fast/zero-terminated-no-clear
778s ok 58 /array/remove-index-fast/zero-terminated-clear
778s # End of remove-index-fast tests
778s # Start of sort tests
778s ok 59 /array/sort/non-zero-terminated-no-clear
778s ok 60 /array/sort/non-zero-terminated-clear
778s ok 61 /array/sort/zero-terminated-no-clear
778s ok 62 /array/sort/zero-terminated-clear
778s # End of sort tests
778s # Start of sort-with-data tests
778s ok 63 /array/sort-with-data/non-zero-terminated-no-clear
778s ok 64 /array/sort-with-data/non-zero-terminated-clear
778s ok 65 /array/sort-with-data/zero-terminated-no-clear
778s ok 66 /array/sort-with-data/zero-terminated-clear
778s # End of sort-with-data tests
778s # End of array tests
778s # Start of pointerarray tests
778s ok 67 /pointerarray/add
778s ok 68 /pointerarray/insert
778s ok 69 /pointerarray/new-take
778s ok 70 /pointerarray/new-take-null-terminated
778s ok 71 /pointerarray/new-from-array
778s ok 72 /pointerarray/new-from-null-terminated-array
778s ok 73 /pointerarray/free-func
778s ok 74 /pointerarray/array_extend_and_steal
778s ok 75 /pointerarray/sort
778s ok 76 /pointerarray/sort-with-data
778s ok 77 /pointerarray/sort-values
778s ok 78 /pointerarray/sort-values-with-data
778s ok 79 /pointerarray/remove-range
778s ok 80 /pointerarray/steal
778s # Start of free tests
778s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
778s ok 81 /pointerarray/free/null-terminated
778s # End of free tests
778s # Start of new-take tests
778s ok 82 /pointerarray/new-take/empty
778s ok 83 /pointerarray/new-take/overflow
778s ok 84 /pointerarray/new-take/with-free-func
778s # End of new-take tests
778s # Start of new-take-null-terminated tests
778s ok 85 /pointerarray/new-take-null-terminated/empty
778s ok 86 /pointerarray/new-take-null-terminated/with-free-func
778s ok 87 /pointerarray/new-take-null-terminated/from-gstrv
778s # End of new-take-null-terminated tests
778s # Start of new-from-array tests
778s ok 88 /pointerarray/new-from-array/empty
778s ok 89 /pointerarray/new-from-array/overflow
778s ok 90 /pointerarray/new-from-array/with-copy-and-free-func
778s # End of new-from-array tests
778s # Start of new-from-null-terminated-array tests
778s ok 91 /pointerarray/new-from-null-terminated-array/empty
778s ok 92 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
778s ok 93 /pointerarray/new-from-null-terminated-array/from-gstrv
778s # End of new-from-null-terminated-array tests
778s # Start of ref-count tests
778s ok 94 /pointerarray/ref-count/not-null-terminated
778s ok 95 /pointerarray/ref-count/null-terminated
778s # End of ref-count tests
778s # Start of array_copy tests
778s # /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
778s ok 96 /pointerarray/array_copy/not-null-terminated
778s # /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
778s ok 97 /pointerarray/array_copy/null-terminated
778s # End of array_copy tests
778s # Start of array_extend tests
778s ok 98 /pointerarray/array_extend/not-null-terminated
778s ok 99 /pointerarray/array_extend/null-terminated
778s # End of array_extend tests
778s # Start of sort tests
778s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
778s ok 100 /pointerarray/sort/example
778s # End of sort tests
778s # Start of sort-with-data tests
778s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
778s ok 101 /pointerarray/sort-with-data/example
778s # End of sort-with-data tests
778s # Start of sort-values tests
778s ok 102 /pointerarray/sort-values/example
778s # End of sort-values tests
778s # Start of sort-values-with-data tests
778s ok 103 /pointerarray/sort-values-with-data/example
778s # End of sort-values-with-data tests
778s # Start of find tests
778s ok 104 /pointerarray/find/empty
778s ok 105 /pointerarray/find/non-empty
778s # End of find tests
778s # Start of steal_index tests
778s ok 106 /pointerarray/steal_index/not-null-terminated
778s ok 107 /pointerarray/steal_index/null-terminated
778s # End of steal_index tests
778s # End of pointerarray tests
778s # Start of bytearray tests
778s ok 108 /bytearray/steal
778s ok 109 /bytearray/append
778s ok 110 /bytearray/prepend
778s ok 111 /bytearray/remove
778s ok 112 /bytearray/remove-fast
778s ok 113 /bytearray/remove-range
778s ok 114 /bytearray/ref-count
778s ok 115 /bytearray/set-size
778s ok 116 /bytearray/sort
778s ok 117 /bytearray/sort-with-data
778s ok 118 /bytearray/new-take
778s ok 119 /bytearray/new-take-overflow
778s ok 120 /bytearray/free-to-bytes
778s # End of bytearray tests
778s ok - glib/array-test.test
778s # Running test: glib/cmph-bdz.test
778s TAP version 14
778s # random seed: R02S77847bffd9a373efec0839e85207af35
778s 1..2
778s # Start of cmph-bdz tests
778s ok 1 /cmph-bdz/search
778s ok 2 /cmph-bdz/search-packed
778s # End of cmph-bdz tests
778s ok - glib/cmph-bdz.test
778s # Running test: glib/gdbus-message.test
778s TAP version 14
778s # random seed: R02Saf5d518132ca286a2ce91a43dcf8dee1
778s 1..3
778s # Start of gdbus tests
778s # Start of message tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SV6CK3/gdbus/message/lock/.dirs/runtime
778s ok 1 /gdbus/message/lock
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SV6CK3/gdbus/message/copy/.dirs/runtime
778s ok 2 /gdbus/message/copy
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_SV6CK3/gdbus/message/bytes-needed/.dirs/runtime
778s # Vector: 0
778s # Vector: 1
778s # Vector: 2
778s # Vector: 3
778s # Vector: 4
778s # Vector: 5
778s ok 3 /gdbus/message/bytes-needed
778s # End of message tests
778s # End of gdbus tests
778s ok - glib/gdbus-message.test
778s # Running test: glib/macros-c-99.test
778s TAP version 14
778s # random seed: R02S56a505d32ab9ecf339f54c4b5eebcc77
778s 1..4
778s # Start of C tests
778s ok 1 /C/standard-99
778s # End of C tests
778s # Start of alignof tests
778s ok 2 /alignof/fallback
778s # End of alignof tests
778s # Start of assert tests
778s ok 3 /assert/static
778s # End of assert tests
778s # Start of struct tests
778s ok 4 /struct/sizeof_member
778s # End of struct tests
778s ok - glib/macros-c-99.test
778s # Running test: glib/tree.test
778s TAP version 14
778s # random seed: R02S37e18056a8b652100251e1e073813c70
778s 1..7
778s # Start of tree tests
778s ok 1 /tree/search
778s ok 2 /tree/remove
778s ok 3 /tree/destroy
778s ok 4 /tree/traverse
778s ok 5 /tree/insert
778s ok 6 /tree/bounds
778s ok 7 /tree/remove-all
778s # End of tree tests
778s ok - glib/tree.test
778s # Running test: glib/types.test
778s TAP version 14
778s # random seed: R02S3be5f1c4b0dab085485ddb4605d08da1
778s 1..1
778s # Start of types tests
778s ok 1 /types/basic_types
778s # End of types tests
778s ok - glib/types.test
778s # Running test: glib/checksum.test
778s TAP version 14
778s # random seed: R02S313cfa35c3a55a264210d0aa7ee34d2d
778s 1..1851
778s # Start of checksum tests
778s ok 1 /checksum/unsupported
778s # Start of MD5 tests
778s ok 2 /checksum/MD5/0
778s ok 3 /checksum/MD5/1
778s ok 4 /checksum/MD5/2
778s ok 5 /checksum/MD5/3
778s ok 6 /checksum/MD5/4
778s ok 7 /checksum/MD5/5
778s ok 8 /checksum/MD5/6
778s ok 9 /checksum/MD5/7
778s ok 10 /checksum/MD5/8
778s ok 11 /checksum/MD5/9
778s ok 12 /checksum/MD5/10
778s ok 13 /checksum/MD5/11
778s ok 14 /checksum/MD5/12
778s ok 15 /checksum/MD5/13
778s ok 16 /checksum/MD5/14
778s ok 17 /checksum/MD5/15
778s ok 18 /checksum/MD5/16
778s ok 19 /checksum/MD5/17
778s ok 20 /checksum/MD5/18
778s ok 21 /checksum/MD5/19
778s ok 22 /checksum/MD5/20
778s ok 23 /checksum/MD5/21
778s ok 24 /checksum/MD5/22
778s ok 25 /checksum/MD5/23
778s ok 26 /checksum/MD5/24
778s ok 27 /checksum/MD5/25
778s ok 28 /checksum/MD5/26
778s ok 29 /checksum/MD5/27
778s ok 30 /checksum/MD5/28
778s ok 31 /checksum/MD5/29
778s ok 32 /checksum/MD5/30
778s ok 33 /checksum/MD5/31
778s ok 34 /checksum/MD5/32
778s ok 35 /checksum/MD5/33
778s ok 36 /checksum/MD5/34
778s ok 37 /checksum/MD5/35
778s ok 38 /checksum/MD5/36
778s ok 39 /checksum/MD5/37
778s ok 40 /checksum/MD5/38
778s ok 41 /checksum/MD5/39
778s ok 42 /checksum/MD5/40
778s ok 43 /checksum/MD5/41
778s ok 44 /checksum/MD5/42
778s ok 45 /checksum/MD5/43
778s ok 46 /checksum/MD5/44
778s ok 47 /checksum/MD5/45
778s ok 48 /checksum/MD5/46
778s ok 49 /checksum/MD5/47
778s ok 50 /checksum/MD5/48
778s ok 51 /checksum/MD5/49
778s ok 52 /checksum/MD5/50
778s ok 53 /checksum/MD5/51
778s ok 54 /checksum/MD5/52
778s ok 55 /checksum/MD5/53
778s ok 56 /checksum/MD5/54
778s ok 57 /checksum/MD5/55
778s ok 58 /checksum/MD5/56
778s ok 59 /checksum/MD5/57
778s ok 60 /checksum/MD5/58
778s ok 61 /checksum/MD5/59
778s ok 62 /checksum/MD5/60
778s ok 63 /checksum/MD5/61
778s ok 64 /checksum/MD5/62
778s ok 65 /checksum/MD5/63
778s ok 66 /checksum/MD5/64
778s ok 67 /checksum/MD5/65
778s ok 68 /checksum/MD5/66
778s ok 69 /checksum/MD5/67
778s ok 70 /checksum/MD5/68
778s ok 71 /checksum/MD5/69
778s ok 72 /checksum/MD5/70
778s ok 73 /checksum/MD5/71
778s ok 74 /checksum/MD5/72
778s ok 75 /checksum/MD5/73
778s ok 76 /checksum/MD5/74
778s ok 77 /checksum/MD5/75
778s ok 78 /checksum/MD5/76
778s ok 79 /checksum/MD5/77
778s ok 80 /checksum/MD5/78
778s ok 81 /checksum/MD5/79
778s ok 82 /checksum/MD5/80
778s ok 83 /checksum/MD5/81
778s ok 84 /checksum/MD5/82
778s ok 85 /checksum/MD5/83
778s ok 86 /checksum/MD5/84
778s ok 87 /checksum/MD5/85
778s ok 88 /checksum/MD5/86
778s ok 89 /checksum/MD5/87
778s ok 90 /checksum/MD5/88
778s ok 91 /checksum/MD5/89
778s ok 92 /checksum/MD5/90
778s ok 93 /checksum/MD5/91
778s ok 94 /checksum/MD5/92
778s ok 95 /checksum/MD5/93
778s ok 96 /checksum/MD5/94
778s ok 97 /checksum/MD5/95
778s ok 98 /checksum/MD5/96
778s ok 99 /checksum/MD5/97
778s ok 100 /checksum/MD5/98
778s ok 101 /checksum/MD5/99
778s ok 102 /checksum/MD5/100
778s ok 103 /checksum/MD5/101
778s ok 104 /checksum/MD5/102
778s ok 105 /checksum/MD5/103
778s ok 106 /checksum/MD5/104
778s ok 107 /checksum/MD5/105
778s ok 108 /checksum/MD5/106
778s ok 109 /checksum/MD5/107
778s ok 110 /checksum/MD5/108
778s ok 111 /checksum/MD5/109
778s ok 112 /checksum/MD5/110
778s ok 113 /checksum/MD5/111
778s ok 114 /checksum/MD5/112
778s ok 115 /checksum/MD5/113
778s ok 116 /checksum/MD5/114
778s ok 117 /checksum/MD5/115
778s ok 118 /checksum/MD5/116
778s ok 119 /checksum/MD5/117
778s ok 120 /checksum/MD5/118
778s ok 121 /checksum/MD5/119
778s ok 122 /checksum/MD5/120
778s ok 123 /checksum/MD5/121
778s ok 124 /checksum/MD5/122
778s ok 125 /checksum/MD5/123
778s ok 126 /checksum/MD5/124
778s ok 127 /checksum/MD5/125
778s ok 128 /checksum/MD5/126
778s ok 129 /checksum/MD5/127
778s ok 130 /checksum/MD5/128
778s ok 131 /checksum/MD5/129
778s ok 132 /checksum/MD5/130
778s ok 133 /checksum/MD5/131
778s ok 134 /checksum/MD5/132
778s ok 135 /checksum/MD5/133
778s ok 136 /checksum/MD5/134
778s ok 137 /checksum/MD5/135
778s ok 138 /checksum/MD5/136
778s ok 139 /checksum/MD5/137
778s ok 140 /checksum/MD5/138
778s ok 141 /checksum/MD5/139
778s ok 142 /checksum/MD5/140
778s ok 143 /checksum/MD5/141
778s ok 144 /checksum/MD5/142
778s ok 145 /checksum/MD5/143
778s ok 146 /checksum/MD5/144
778s ok 147 /checksum/MD5/145
778s ok 148 /checksum/MD5/146
778s ok 149 /checksum/MD5/147
778s ok 150 /checksum/MD5/148
778s ok 151 /checksum/MD5/149
778s ok 152 /checksum/MD5/150
778s ok 153 /checksum/MD5/151
778s ok 154 /checksum/MD5/152
778s ok 155 /checksum/MD5/153
778s ok 156 /checksum/MD5/154
778s ok 157 /checksum/MD5/155
778s ok 158 /checksum/MD5/156
778s ok 159 /checksum/MD5/157
778s ok 160 /checksum/MD5/158
778s ok 161 /checksum/MD5/159
778s ok 162 /checksum/MD5/160
778s ok 163 /checksum/MD5/161
778s ok 164 /checksum/MD5/162
778s ok 165 /checksum/MD5/163
778s ok 166 /checksum/MD5/164
778s ok 167 /checksum/MD5/165
778s ok 168 /checksum/MD5/166
778s ok 169 /checksum/MD5/167
778s ok 170 /checksum/MD5/168
778s ok 171 /checksum/MD5/169
778s ok 172 /checksum/MD5/170
778s ok 173 /checksum/MD5/171
778s ok 174 /checksum/MD5/172
778s ok 175 /checksum/MD5/173
778s ok 176 /checksum/MD5/174
778s ok 177 /checksum/MD5/175
778s ok 178 /checksum/MD5/176
778s ok 179 /checksum/MD5/177
778s ok 180 /checksum/MD5/178
778s ok 181 /checksum/MD5/179
778s ok 182 /checksum/MD5/180
778s ok 183 /checksum/MD5/181
778s ok 184 /checksum/MD5/182
778s ok 185 /checksum/MD5/183
778s ok 186 /checksum/MD5/string
778s ok 187 /checksum/MD5/bytes
778s # Start of reset tests
778s ok 188 /checksum/MD5/reset/0
778s ok 189 /checksum/MD5/reset/1
778s ok 190 /checksum/MD5/reset/2
778s ok 191 /checksum/MD5/reset/3
778s ok 192 /checksum/MD5/reset/4
778s ok 193 /checksum/MD5/reset/5
778s ok 194 /checksum/MD5/reset/6
778s ok 195 /checksum/MD5/reset/7
778s ok 196 /checksum/MD5/reset/8
778s ok 197 /checksum/MD5/reset/9
778s ok 198 /checksum/MD5/reset/10
778s ok 199 /checksum/MD5/reset/11
778s ok 200 /checksum/MD5/reset/12
778s ok 201 /checksum/MD5/reset/13
778s ok 202 /checksum/MD5/reset/14
778s ok 203 /checksum/MD5/reset/15
778s ok 204 /checksum/MD5/reset/16
778s ok 205 /checksum/MD5/reset/17
778s ok 206 /checksum/MD5/reset/18
778s ok 207 /checksum/MD5/reset/19
778s ok 208 /checksum/MD5/reset/20
778s ok 209 /checksum/MD5/reset/21
778s ok 210 /checksum/MD5/reset/22
778s ok 211 /checksum/MD5/reset/23
778s ok 212 /checksum/MD5/reset/24
778s ok 213 /checksum/MD5/reset/25
778s ok 214 /checksum/MD5/reset/26
778s ok 215 /checksum/MD5/reset/27
778s ok 216 /checksum/MD5/reset/28
778s ok 217 /checksum/MD5/reset/29
778s ok 218 /checksum/MD5/reset/30
778s ok 219 /checksum/MD5/reset/31
778s ok 220 /checksum/MD5/reset/32
778s ok 221 /checksum/MD5/reset/33
778s ok 222 /checksum/MD5/reset/34
778s ok 223 /checksum/MD5/reset/35
778s ok 224 /checksum/MD5/reset/36
778s ok 225 /checksum/MD5/reset/37
778s ok 226 /checksum/MD5/reset/38
778s ok 227 /checksum/MD5/reset/39
778s ok 228 /checksum/MD5/reset/40
778s ok 229 /checksum/MD5/reset/41
778s ok 230 /checksum/MD5/reset/42
778s ok 231 /checksum/MD5/reset/43
778s ok 232 /checksum/MD5/reset/44
778s ok 233 /checksum/MD5/reset/45
778s ok 234 /checksum/MD5/reset/46
778s ok 235 /checksum/MD5/reset/47
778s ok 236 /checksum/MD5/reset/48
778s ok 237 /checksum/MD5/reset/49
778s ok 238 /checksum/MD5/reset/50
778s ok 239 /checksum/MD5/reset/51
778s ok 240 /checksum/MD5/reset/52
778s ok 241 /checksum/MD5/reset/53
778s ok 242 /checksum/MD5/reset/54
778s ok 243 /checksum/MD5/reset/55
778s ok 244 /checksum/MD5/reset/56
778s ok 245 /checksum/MD5/reset/57
778s ok 246 /checksum/MD5/reset/58
778s ok 247 /checksum/MD5/reset/59
778s ok 248 /checksum/MD5/reset/60
778s ok 249 /checksum/MD5/reset/61
778s ok 250 /checksum/MD5/reset/62
778s ok 251 /checksum/MD5/reset/63
778s ok 252 /checksum/MD5/reset/64
778s ok 253 /checksum/MD5/reset/65
778s ok 254 /checksum/MD5/reset/66
778s ok 255 /checksum/MD5/reset/67
778s ok 256 /checksum/MD5/reset/68
778s ok 257 /checksum/MD5/reset/69
778s ok 258 /checksum/MD5/reset/70
778s ok 259 /checksum/MD5/reset/71
778s ok 260 /checksum/MD5/reset/72
778s ok 261 /checksum/MD5/reset/73
778s ok 262 /checksum/MD5/reset/74
778s ok 263 /checksum/MD5/reset/75
778s ok 264 /checksum/MD5/reset/76
778s ok 265 /checksum/MD5/reset/77
778s ok 266 /checksum/MD5/reset/78
778s ok 267 /checksum/MD5/reset/79
778s ok 268 /checksum/MD5/reset/80
778s ok 269 /checksum/MD5/reset/81
778s ok 270 /checksum/MD5/reset/82
778s ok 271 /checksum/MD5/reset/83
778s ok 272 /checksum/MD5/reset/84
778s ok 273 /checksum/MD5/reset/85
778s ok 274 /checksum/MD5/reset/86
778s ok 275 /checksum/MD5/reset/87
778s ok 276 /checksum/MD5/reset/88
778s ok 277 /checksum/MD5/reset/89
778s ok 278 /checksum/MD5/reset/90
778s ok 279 /checksum/MD5/reset/91
778s ok 280 /checksum/MD5/reset/92
778s ok 281 /checksum/MD5/reset/93
778s ok 282 /checksum/MD5/reset/94
778s ok 283 /checksum/MD5/reset/95
778s ok 284 /checksum/MD5/reset/96
778s ok 285 /checksum/MD5/reset/97
778s ok 286 /checksum/MD5/reset/98
778s ok 287 /checksum/MD5/reset/99
778s ok 288 /checksum/MD5/reset/100
778s ok 289 /checksum/MD5/reset/101
778s ok 290 /checksum/MD5/reset/102
778s ok 291 /checksum/MD5/reset/103
778s ok 292 /checksum/MD5/reset/104
778s ok 293 /checksum/MD5/reset/105
778s ok 294 /checksum/MD5/reset/106
778s ok 295 /checksum/MD5/reset/107
778s ok 296 /checksum/MD5/reset/108
778s ok 297 /checksum/MD5/reset/109
778s ok 298 /checksum/MD5/reset/110
778s ok 299 /checksum/MD5/reset/111
778s ok 300 /checksum/MD5/reset/112
778s ok 301 /checksum/MD5/reset/113
778s ok 302 /checksum/MD5/reset/114
778s ok 303 /checksum/MD5/reset/115
778s ok 304 /checksum/MD5/reset/116
778s ok 305 /checksum/MD5/reset/117
778s ok 306 /checksum/MD5/reset/118
778s ok 307 /checksum/MD5/reset/119
778s ok 308 /checksum/MD5/reset/120
778s ok 309 /checksum/MD5/reset/121
778s ok 310 /checksum/MD5/reset/122
778s ok 311 /checksum/MD5/reset/123
778s ok 312 /checksum/MD5/reset/124
778s ok 313 /checksum/MD5/reset/125
778s ok 314 /checksum/MD5/reset/126
778s ok 315 /checksum/MD5/reset/127
778s ok 316 /checksum/MD5/reset/128
778s ok 317 /checksum/MD5/reset/129
778s ok 318 /checksum/MD5/reset/130
778s ok 319 /checksum/MD5/reset/131
778s ok 320 /checksum/MD5/reset/132
778s ok 321 /checksum/MD5/reset/133
778s ok 322 /checksum/MD5/reset/134
778s ok 323 /checksum/MD5/reset/135
778s ok 324 /checksum/MD5/reset/136
778s ok 325 /checksum/MD5/reset/137
778s ok 326 /checksum/MD5/reset/138
778s ok 327 /checksum/MD5/reset/139
778s ok 328 /checksum/MD5/reset/140
778s ok 329 /checksum/MD5/reset/141
778s ok 330 /checksum/MD5/reset/142
778s ok 331 /checksum/MD5/reset/143
778s ok 332 /checksum/MD5/reset/144
778s ok 333 /checksum/MD5/reset/145
778s ok 334 /checksum/MD5/reset/146
778s ok 335 /checksum/MD5/reset/147
778s ok 336 /checksum/MD5/reset/148
778s ok 337 /checksum/MD5/reset/149
778s ok 338 /checksum/MD5/reset/150
778s ok 339 /checksum/MD5/reset/151
778s ok 340 /checksum/MD5/reset/152
778s ok 341 /checksum/MD5/reset/153
778s ok 342 /checksum/MD5/reset/154
778s ok 343 /checksum/MD5/reset/155
778s ok 344 /checksum/MD5/reset/156
778s ok 345 /checksum/MD5/reset/157
778s ok 346 /checksum/MD5/reset/158
778s ok 347 /checksum/MD5/reset/159
778s ok 348 /checksum/MD5/reset/160
778s ok 349 /checksum/MD5/reset/161
778s ok 350 /checksum/MD5/reset/162
778s ok 351 /checksum/MD5/reset/163
778s ok 352 /checksum/MD5/reset/164
778s ok 353 /checksum/MD5/reset/165
778s ok 354 /checksum/MD5/reset/166
778s ok 355 /checksum/MD5/reset/167
778s ok 356 /checksum/MD5/reset/168
778s ok 357 /checksum/MD5/reset/169
778s ok 358 /checksum/MD5/reset/170
778s ok 359 /checksum/MD5/reset/171
778s ok 360 /checksum/MD5/reset/172
778s ok 361 /checksum/MD5/reset/173
778s ok 362 /checksum/MD5/reset/174
778s ok 363 /checksum/MD5/reset/175
778s ok 364 /checksum/MD5/reset/176
778s ok 365 /checksum/MD5/reset/177
778s ok 366 /checksum/MD5/reset/178
778s ok 367 /checksum/MD5/reset/179
778s ok 368 /checksum/MD5/reset/180
778s ok 369 /checksum/MD5/reset/181
778s ok 370 /checksum/MD5/reset/182
778s ok 371 /checksum/MD5/reset/183
778s # End of reset tests
778s # End of MD5 tests
778s # Start of SHA1 tests
778s ok 372 /checksum/SHA1/0
778s ok 373 /checksum/SHA1/1
778s ok 374 /checksum/SHA1/2
778s ok 375 /checksum/SHA1/3
778s ok 376 /checksum/SHA1/4
778s ok 377 /checksum/SHA1/5
778s ok 378 /checksum/SHA1/6
778s ok 379 /checksum/SHA1/7
778s ok 380 /checksum/SHA1/8
778s ok 381 /checksum/SHA1/9
778s ok 382 /checksum/SHA1/10
778s ok 383 /checksum/SHA1/11
778s ok 384 /checksum/SHA1/12
778s ok 385 /checksum/SHA1/13
778s ok 386 /checksum/SHA1/14
778s ok 387 /checksum/SHA1/15
778s ok 388 /checksum/SHA1/16
778s ok 389 /checksum/SHA1/17
778s ok 390 /checksum/SHA1/18
778s ok 391 /checksum/SHA1/19
778s ok 392 /checksum/SHA1/20
778s ok 393 /checksum/SHA1/21
778s ok 394 /checksum/SHA1/22
778s ok 395 /checksum/SHA1/23
778s ok 396 /checksum/SHA1/24
778s ok 397 /checksum/SHA1/25
778s ok 398 /checksum/SHA1/26
778s ok 399 /checksum/SHA1/27
778s ok 400 /checksum/SHA1/28
778s ok 401 /checksum/SHA1/29
778s ok 402 /checksum/SHA1/30
778s ok 403 /checksum/SHA1/31
778s ok 404 /checksum/SHA1/32
778s ok 405 /checksum/SHA1/33
778s ok 406 /checksum/SHA1/34
778s ok 407 /checksum/SHA1/35
778s ok 408 /checksum/SHA1/36
778s ok 409 /checksum/SHA1/37
778s ok 410 /checksum/SHA1/38
778s ok 411 /checksum/SHA1/39
778s ok 412 /checksum/SHA1/40
778s ok 413 /checksum/SHA1/41
778s ok 414 /checksum/SHA1/42
778s ok 415 /checksum/SHA1/43
778s ok 416 /checksum/SHA1/44
778s ok 417 /checksum/SHA1/45
778s ok 418 /checksum/SHA1/46
778s ok 419 /checksum/SHA1/47
778s ok 420 /checksum/SHA1/48
778s ok 421 /checksum/SHA1/49
778s ok 422 /checksum/SHA1/50
778s ok 423 /checksum/SHA1/51
778s ok 424 /checksum/SHA1/52
778s ok 425 /checksum/SHA1/53
778s ok 426 /checksum/SHA1/54
778s ok 427 /checksum/SHA1/55
778s ok 428 /checksum/SHA1/56
778s ok 429 /checksum/SHA1/57
778s ok 430 /checksum/SHA1/58
778s ok 431 /checksum/SHA1/59
778s ok 432 /checksum/SHA1/60
778s ok 433 /checksum/SHA1/61
778s ok 434 /checksum/SHA1/62
778s ok 435 /checksum/SHA1/63
778s ok 436 /checksum/SHA1/64
778s ok 437 /checksum/SHA1/65
778s ok 438 /checksum/SHA1/66
778s ok 439 /checksum/SHA1/67
778s ok 440 /checksum/SHA1/68
778s ok 441 /checksum/SHA1/69
778s ok 442 /checksum/SHA1/70
778s ok 443 /checksum/SHA1/71
778s ok 444 /checksum/SHA1/72
778s ok 445 /checksum/SHA1/73
778s ok 446 /checksum/SHA1/74
778s ok 447 /checksum/SHA1/75
778s ok 448 /checksum/SHA1/76
778s ok 449 /checksum/SHA1/77
778s ok 450 /checksum/SHA1/78
778s ok 451 /checksum/SHA1/79
778s ok 452 /checksum/SHA1/80
778s ok 453 /checksum/SHA1/81
778s ok 454 /checksum/SHA1/82
778s ok 455 /checksum/SHA1/83
778s ok 456 /checksum/SHA1/84
778s ok 457 /checksum/SHA1/85
778s ok 458 /checksum/SHA1/86
778s ok 459 /checksum/SHA1/87
778s ok 460 /checksum/SHA1/88
778s ok 461 /checksum/SHA1/89
778s ok 462 /checksum/SHA1/90
778s ok 463 /checksum/SHA1/91
778s ok 464 /checksum/SHA1/92
778s ok 465 /checksum/SHA1/93
778s ok 466 /checksum/SHA1/94
778s ok 467 /checksum/SHA1/95
778s ok 468 /checksum/SHA1/96
778s ok 469 /checksum/SHA1/97
778s ok 470 /checksum/SHA1/98
778s ok 471 /checksum/SHA1/99
778s ok 472 /checksum/SHA1/100
778s ok 473 /checksum/SHA1/101
778s ok 474 /checksum/SHA1/102
778s ok 475 /checksum/SHA1/103
778s ok 476 /checksum/SHA1/104
778s ok 477 /checksum/SHA1/105
778s ok 478 /checksum/SHA1/106
778s ok 479 /checksum/SHA1/107
778s ok 480 /checksum/SHA1/108
778s ok 481 /checksum/SHA1/109
778s ok 482 /checksum/SHA1/110
778s ok 483 /checksum/SHA1/111
778s ok 484 /checksum/SHA1/112
778s ok 485 /checksum/SHA1/113
778s ok 486 /checksum/SHA1/114
778s ok 487 /checksum/SHA1/115
778s ok 488 /checksum/SHA1/116
778s ok 489 /checksum/SHA1/117
778s ok 490 /checksum/SHA1/118
778s ok 491 /checksum/SHA1/119
778s ok 492 /checksum/SHA1/120
778s ok 493 /checksum/SHA1/121
778s ok 494 /checksum/SHA1/122
778s ok 495 /checksum/SHA1/123
778s ok 496 /checksum/SHA1/124
778s ok 497 /checksum/SHA1/125
778s ok 498 /checksum/SHA1/126
778s ok 499 /checksum/SHA1/127
778s ok 500 /checksum/SHA1/128
778s ok 501 /checksum/SHA1/129
778s ok 502 /checksum/SHA1/130
778s ok 503 /checksum/SHA1/131
778s ok 504 /checksum/SHA1/132
778s ok 505 /checksum/SHA1/133
778s ok 506 /checksum/SHA1/134
778s ok 507 /checksum/SHA1/135
778s ok 508 /checksum/SHA1/136
778s ok 509 /checksum/SHA1/137
778s ok 510 /checksum/SHA1/138
778s ok 511 /checksum/SHA1/139
778s ok 512 /checksum/SHA1/140
778s ok 513 /checksum/SHA1/141
778s ok 514 /checksum/SHA1/142
778s ok 515 /checksum/SHA1/143
778s ok 516 /checksum/SHA1/144
778s ok 517 /checksum/SHA1/145
778s ok 518 /checksum/SHA1/146
778s ok 519 /checksum/SHA1/147
778s ok 520 /checksum/SHA1/148
778s ok 521 /checksum/SHA1/149
778s ok 522 /checksum/SHA1/150
778s ok 523 /checksum/SHA1/151
778s ok 524 /checksum/SHA1/152
778s ok 525 /checksum/SHA1/153
778s ok 526 /checksum/SHA1/154
778s ok 527 /checksum/SHA1/155
778s ok 528 /checksum/SHA1/156
778s ok 529 /checksum/SHA1/157
778s ok 530 /checksum/SHA1/158
778s ok 531 /checksum/SHA1/159
778s ok 532 /checksum/SHA1/160
778s ok 533 /checksum/SHA1/161
778s ok 534 /checksum/SHA1/162
778s ok 535 /checksum/SHA1/163
778s ok 536 /checksum/SHA1/164
778s ok 537 /checksum/SHA1/165
778s ok 538 /checksum/SHA1/166
778s ok 539 /checksum/SHA1/167
778s ok 540 /checksum/SHA1/168
778s ok 541 /checksum/SHA1/169
778s ok 542 /checksum/SHA1/170
778s ok 543 /checksum/SHA1/171
778s ok 544 /checksum/SHA1/172
778s ok 545 /checksum/SHA1/173
778s ok 546 /checksum/SHA1/174
778s ok 547 /checksum/SHA1/175
778s ok 548 /checksum/SHA1/176
778s ok 549 /checksum/SHA1/177
778s ok 550 /checksum/SHA1/178
778s ok 551 /checksum/SHA1/179
778s ok 552 /checksum/SHA1/180
778s ok 553 /checksum/SHA1/181
778s ok 554 /checksum/SHA1/182
778s ok 555 /checksum/SHA1/183
778s ok 556 /checksum/SHA1/string
778s ok 557 /checksum/SHA1/bytes
778s # Start of reset tests
778s ok 558 /checksum/SHA1/reset/0
778s ok 559 /checksum/SHA1/reset/1
778s ok 560 /checksum/SHA1/reset/2
778s ok 561 /checksum/SHA1/reset/3
778s ok 562 /checksum/SHA1/reset/4
778s ok 563 /checksum/SHA1/reset/5
778s ok 564 /checksum/SHA1/reset/6
778s ok 565 /checksum/SHA1/reset/7
778s ok 566 /checksum/SHA1/reset/8
778s ok 567 /checksum/SHA1/reset/9
778s ok 568 /checksum/SHA1/reset/10
778s ok 569 /checksum/SHA1/reset/11
778s ok 570 /checksum/SHA1/reset/12
778s ok 571 /checksum/SHA1/reset/13
778s ok 572 /checksum/SHA1/reset/14
778s ok 573 /checksum/SHA1/reset/15
778s ok 574 /checksum/SHA1/reset/16
778s ok 575 /checksum/SHA1/reset/17
778s ok 576 /checksum/SHA1/reset/18
778s ok 577 /checksum/SHA1/reset/19
778s ok 578 /checksum/SHA1/reset/20
778s ok 579 /checksum/SHA1/reset/21
778s ok 580 /checksum/SHA1/reset/22
778s ok 581 /checksum/SHA1/reset/23
778s ok 582 /checksum/SHA1/reset/24
778s ok 583 /checksum/SHA1/reset/25
778s ok 584 /checksum/SHA1/reset/26
778s ok 585 /checksum/SHA1/reset/27
778s ok 586 /checksum/SHA1/reset/28
778s ok 587 /checksum/SHA1/reset/29
778s ok 588 /checksum/SHA1/reset/30
778s ok 589 /checksum/SHA1/reset/31
778s ok 590 /checksum/SHA1/reset/32
778s ok 591 /checksum/SHA1/reset/33
778s ok 592 /checksum/SHA1/reset/34
778s ok 593 /checksum/SHA1/reset/35
778s ok 594 /checksum/SHA1/reset/36
778s ok 595 /checksum/SHA1/reset/37
778s ok 596 /checksum/SHA1/reset/38
778s ok 597 /checksum/SHA1/reset/39
778s ok 598 /checksum/SHA1/reset/40
778s ok 599 /checksum/SHA1/reset/41
778s ok 600 /checksum/SHA1/reset/42
778s ok 601 /checksum/SHA1/reset/43
778s ok 602 /checksum/SHA1/reset/44
778s ok 603 /checksum/SHA1/reset/45
778s ok 604 /checksum/SHA1/reset/46
778s ok 605 /checksum/SHA1/reset/47
778s ok 606 /checksum/SHA1/reset/48
778s ok 607 /checksum/SHA1/reset/49
778s ok 608 /checksum/SHA1/reset/50
778s ok 609 /checksum/SHA1/reset/51
778s ok 610 /checksum/SHA1/reset/52
778s ok 611 /checksum/SHA1/reset/53
778s ok 612 /checksum/SHA1/reset/54
778s ok 613 /checksum/SHA1/reset/55
778s ok 614 /checksum/SHA1/reset/56
778s ok 615 /checksum/SHA1/reset/57
778s ok 616 /checksum/SHA1/reset/58
778s ok 617 /checksum/SHA1/reset/59
778s ok 618 /checksum/SHA1/reset/60
778s ok 619 /checksum/SHA1/reset/61
778s ok 620 /checksum/SHA1/reset/62
778s ok 621 /checksum/SHA1/reset/63
778s ok 622 /checksum/SHA1/reset/64
778s ok 623 /checksum/SHA1/reset/65
778s ok 624 /checksum/SHA1/reset/66
778s ok 625 /checksum/SHA1/reset/67
778s ok 626 /checksum/SHA1/reset/68
778s ok 627 /checksum/SHA1/reset/69
778s ok 628 /checksum/SHA1/reset/70
778s ok 629 /checksum/SHA1/reset/71
778s ok 630 /checksum/SHA1/reset/72
778s ok 631 /checksum/SHA1/reset/73
778s ok 632 /checksum/SHA1/reset/74
778s ok 633 /checksum/SHA1/reset/75
778s ok 634 /checksum/SHA1/reset/76
778s ok 635 /checksum/SHA1/reset/77
778s ok 636 /checksum/SHA1/reset/78
778s ok 637 /checksum/SHA1/reset/79
778s ok 638 /checksum/SHA1/reset/80
778s ok 639 /checksum/SHA1/reset/81
778s ok 640 /checksum/SHA1/reset/82
778s ok 641 /checksum/SHA1/reset/83
778s ok 642 /checksum/SHA1/reset/84
778s ok 643 /checksum/SHA1/reset/85
778s ok 644 /checksum/SHA1/reset/86
778s ok 645 /checksum/SHA1/reset/87
778s ok 646 /checksum/SHA1/reset/88
778s ok 647 /checksum/SHA1/reset/89
778s ok 648 /checksum/SHA1/reset/90
778s ok 649 /checksum/SHA1/reset/91
778s ok 650 /checksum/SHA1/reset/92
778s ok 651 /checksum/SHA1/reset/93
778s ok 652 /checksum/SHA1/reset/94
778s ok 653 /checksum/SHA1/reset/95
778s ok 654 /checksum/SHA1/reset/96
778s ok 655 /checksum/SHA1/reset/97
778s ok 656 /checksum/SHA1/reset/98
778s ok 657 /checksum/SHA1/reset/99
778s ok 658 /checksum/SHA1/reset/100
778s ok 659 /checksum/SHA1/reset/101
778s ok 660 /checksum/SHA1/reset/102
778s ok 661 /checksum/SHA1/reset/103
778s ok 662 /checksum/SHA1/reset/104
778s ok 663 /checksum/SHA1/reset/105
778s ok 664 /checksum/SHA1/reset/106
778s ok 665 /checksum/SHA1/reset/107
778s ok 666 /checksum/SHA1/reset/108
778s ok 667 /checksum/SHA1/reset/109
778s ok 668 /checksum/SHA1/reset/110
778s ok 669 /checksum/SHA1/reset/111
778s ok 670 /checksum/SHA1/reset/112
778s ok 671 /checksum/SHA1/reset/113
778s ok 672 /checksum/SHA1/reset/114
778s ok 673 /checksum/SHA1/reset/115
778s ok 674 /checksum/SHA1/reset/116
778s ok 675 /checksum/SHA1/reset/117
778s ok 676 /checksum/SHA1/reset/118
778s ok 677 /checksum/SHA1/reset/119
778s ok 678 /checksum/SHA1/reset/120
778s ok 679 /checksum/SHA1/reset/121
778s ok 680 /checksum/SHA1/reset/122
778s ok 681 /checksum/SHA1/reset/123
778s ok 682 /checksum/SHA1/reset/124
778s ok 683 /checksum/SHA1/reset/125
778s ok 684 /checksum/SHA1/reset/126
778s ok 685 /checksum/SHA1/reset/127
778s ok 686 /checksum/SHA1/reset/128
778s ok 687 /checksum/SHA1/reset/129
778s ok 688 /checksum/SHA1/reset/130
778s ok 689 /checksum/SHA1/reset/131
778s ok 690 /checksum/SHA1/reset/132
778s ok 691 /checksum/SHA1/reset/133
778s ok 692 /checksum/SHA1/reset/134
778s ok 693 /checksum/SHA1/reset/135
778s ok 694 /checksum/SHA1/reset/136
778s ok 695 /checksum/SHA1/reset/137
778s ok 696 /checksum/SHA1/reset/138
778s ok 697 /checksum/SHA1/reset/139
778s ok 698 /checksum/SHA1/reset/140
778s ok 699 /checksum/SHA1/reset/141
778s ok 700 /checksum/SHA1/reset/142
778s ok 701 /checksum/SHA1/reset/143
778s ok 702 /checksum/SHA1/reset/144
778s ok 703 /checksum/SHA1/reset/145
778s ok 704 /checksum/SHA1/reset/146
778s ok 705 /checksum/SHA1/reset/147
778s ok 706 /checksum/SHA1/reset/148
778s ok 707 /checksum/SHA1/reset/149
778s ok 708 /checksum/SHA1/reset/150
778s ok 709 /checksum/SHA1/reset/151
778s ok 710 /checksum/SHA1/reset/152
778s ok 711 /checksum/SHA1/reset/153
778s ok 712 /checksum/SHA1/reset/154
778s ok 713 /checksum/SHA1/reset/155
778s ok 714 /checksum/SHA1/reset/156
778s ok 715 /checksum/SHA1/reset/157
778s ok 716 /checksum/SHA1/reset/158
778s ok 717 /checksum/SHA1/reset/159
778s ok 718 /checksum/SHA1/reset/160
778s ok 719 /checksum/SHA1/reset/161
778s ok 720 /checksum/SHA1/reset/162
778s ok 721 /checksum/SHA1/reset/163
778s ok 722 /checksum/SHA1/reset/164
778s ok 723 /checksum/SHA1/reset/165
778s ok 724 /checksum/SHA1/reset/166
778s ok 725 /checksum/SHA1/reset/167
778s ok 726 /checksum/SHA1/reset/168
778s ok 727 /checksum/SHA1/reset/169
778s ok 728 /checksum/SHA1/reset/170
778s ok 729 /checksum/SHA1/reset/171
778s ok 730 /checksum/SHA1/reset/172
778s ok 731 /checksum/SHA1/reset/173
778s ok 732 /checksum/SHA1/reset/174
778s ok 733 /checksum/SHA1/reset/175
778s ok 734 /checksum/SHA1/reset/176
778s ok 735 /checksum/SHA1/reset/177
778s ok 736 /checksum/SHA1/reset/178
778s ok 737 /checksum/SHA1/reset/179
778s ok 738 /checksum/SHA1/reset/180
778s ok 739 /checksum/SHA1/reset/181
778s ok 740 /checksum/SHA1/reset/182
778s ok 741 /checksum/SHA1/reset/183
778s # End of reset tests
778s # End of SHA1 tests
778s # Start of SHA256 tests
778s ok 742 /checksum/SHA256/0
778s ok 743 /checksum/SHA256/1
778s ok 744 /checksum/SHA256/2
778s ok 745 /checksum/SHA256/3
778s ok 746 /checksum/SHA256/4
778s ok 747 /checksum/SHA256/5
778s ok 748 /checksum/SHA256/6
778s ok 749 /checksum/SHA256/7
778s ok 750 /checksum/SHA256/8
778s ok 751 /checksum/SHA256/9
778s ok 752 /checksum/SHA256/10
778s ok 753 /checksum/SHA256/11
778s ok 754 /checksum/SHA256/12
778s ok 755 /checksum/SHA256/13
778s ok 756 /checksum/SHA256/14
778s ok 757 /checksum/SHA256/15
778s ok 758 /checksum/SHA256/16
778s ok 759 /checksum/SHA256/17
778s ok 760 /checksum/SHA256/18
778s ok 761 /checksum/SHA256/19
778s ok 762 /checksum/SHA256/20
778s ok 763 /checksum/SHA256/21
778s ok 764 /checksum/SHA256/22
778s ok 765 /checksum/SHA256/23
778s ok 766 /checksum/SHA256/24
778s ok 767 /checksum/SHA256/25
778s ok 768 /checksum/SHA256/26
778s ok 769 /checksum/SHA256/27
778s ok 770 /checksum/SHA256/28
778s ok 771 /checksum/SHA256/29
778s ok 772 /checksum/SHA256/30
778s ok 773 /checksum/SHA256/31
778s ok 774 /checksum/SHA256/32
778s ok 775 /checksum/SHA256/33
778s ok 776 /checksum/SHA256/34
778s ok 777 /checksum/SHA256/35
778s ok 778 /checksum/SHA256/36
778s ok 779 /checksum/SHA256/37
778s ok 780 /checksum/SHA256/38
778s ok 781 /checksum/SHA256/39
778s ok 782 /checksum/SHA256/40
778s ok 783 /checksum/SHA256/41
778s ok 784 /checksum/SHA256/42
778s ok 785 /checksum/SHA256/43
778s ok 786 /checksum/SHA256/44
778s ok 787 /checksum/SHA256/45
778s ok 788 /checksum/SHA256/46
778s ok 789 /checksum/SHA256/47
778s ok 790 /checksum/SHA256/48
778s ok 791 /checksum/SHA256/49
778s ok 792 /checksum/SHA256/50
778s ok 793 /checksum/SHA256/51
778s ok 794 /checksum/SHA256/52
778s ok 795 /checksum/SHA256/53
778s ok 796 /checksum/SHA256/54
778s ok 797 /checksum/SHA256/55
778s ok 798 /checksum/SHA256/56
778s ok 799 /checksum/SHA256/57
778s ok 800 /checksum/SHA256/58
778s ok 801 /checksum/SHA256/59
778s ok 802 /checksum/SHA256/60
778s ok 803 /checksum/SHA256/61
778s ok 804 /checksum/SHA256/62
778s ok 805 /checksum/SHA256/63
778s ok 806 /checksum/SHA256/64
778s ok 807 /checksum/SHA256/65
778s ok 808 /checksum/SHA256/66
778s ok 809 /checksum/SHA256/67
778s ok 810 /checksum/SHA256/68
778s ok 811 /checksum/SHA256/69
778s ok 812 /checksum/SHA256/70
778s ok 813 /checksum/SHA256/71
778s ok 814 /checksum/SHA256/72
778s ok 815 /checksum/SHA256/73
778s ok 816 /checksum/SHA256/74
778s ok 817 /checksum/SHA256/75
778s ok 818 /checksum/SHA256/76
778s ok 819 /checksum/SHA256/77
778s ok 820 /checksum/SHA256/78
778s ok 821 /checksum/SHA256/79
778s ok 822 /checksum/SHA256/80
778s ok 823 /checksum/SHA256/81
778s ok 824 /checksum/SHA256/82
778s ok 825 /checksum/SHA256/83
778s ok 826 /checksum/SHA256/84
778s ok 827 /checksum/SHA256/85
778s ok 828 /checksum/SHA256/86
778s ok 829 /checksum/SHA256/87
778s ok 830 /checksum/SHA256/88
778s ok 831 /checksum/SHA256/89
778s ok 832 /checksum/SHA256/90
778s ok 833 /checksum/SHA256/91
778s ok 834 /checksum/SHA256/92
778s ok 835 /checksum/SHA256/93
778s ok 836 /checksum/SHA256/94
778s ok 837 /checksum/SHA256/95
778s ok 838 /checksum/SHA256/96
778s ok 839 /checksum/SHA256/97
778s ok 840 /checksum/SHA256/98
778s ok 841 /checksum/SHA256/99
778s ok 842 /checksum/SHA256/100
778s ok 843 /checksum/SHA256/101
778s ok 844 /checksum/SHA256/102
778s ok 845 /checksum/SHA256/103
778s ok 846 /checksum/SHA256/104
778s ok 847 /checksum/SHA256/105
778s ok 848 /checksum/SHA256/106
778s ok 849 /checksum/SHA256/107
778s ok 850 /checksum/SHA256/108
778s ok 851 /checksum/SHA256/109
778s ok 852 /checksum/SHA256/110
778s ok 853 /checksum/SHA256/111
778s ok 854 /checksum/SHA256/112
778s ok 855 /checksum/SHA256/113
778s ok 856 /checksum/SHA256/114
778s ok 857 /checksum/SHA256/115
778s ok 858 /checksum/SHA256/116
778s ok 859 /checksum/SHA256/117
778s ok 860 /checksum/SHA256/118
778s ok 861 /checksum/SHA256/119
778s ok 862 /checksum/SHA256/120
778s ok 863 /checksum/SHA256/121
778s ok 864 /checksum/SHA256/122
778s ok 865 /checksum/SHA256/123
778s ok 866 /checksum/SHA256/124
778s ok 867 /checksum/SHA256/125
778s ok 868 /checksum/SHA256/126
778s ok 869 /checksum/SHA256/127
778s ok 870 /checksum/SHA256/128
778s ok 871 /checksum/SHA256/129
778s ok 872 /checksum/SHA256/130
778s ok 873 /checksum/SHA256/131
778s ok 874 /checksum/SHA256/132
778s ok 875 /checksum/SHA256/133
778s ok 876 /checksum/SHA256/134
778s ok 877 /checksum/SHA256/135
778s ok 878 /checksum/SHA256/136
778s ok 879 /checksum/SHA256/137
778s ok 880 /checksum/SHA256/138
778s ok 881 /checksum/SHA256/139
778s ok 882 /checksum/SHA256/140
778s ok 883 /checksum/SHA256/141
778s ok 884 /checksum/SHA256/142
778s ok 885 /checksum/SHA256/143
778s ok 886 /checksum/SHA256/144
778s ok 887 /checksum/SHA256/145
778s ok 888 /checksum/SHA256/146
778s ok 889 /checksum/SHA256/147
778s ok 890 /checksum/SHA256/148
778s ok 891 /checksum/SHA256/149
778s ok 892 /checksum/SHA256/150
778s ok 893 /checksum/SHA256/151
778s ok 894 /checksum/SHA256/152
778s ok 895 /checksum/SHA256/153
778s ok 896 /checksum/SHA256/154
778s ok 897 /checksum/SHA256/155
778s ok 898 /checksum/SHA256/156
778s ok 899 /checksum/SHA256/157
778s ok 900 /checksum/SHA256/158
778s ok 901 /checksum/SHA256/159
778s ok 902 /checksum/SHA256/160
778s ok 903 /checksum/SHA256/161
778s ok 904 /checksum/SHA256/162
778s ok 905 /checksum/SHA256/163
778s ok 906 /checksum/SHA256/164
778s ok 907 /checksum/SHA256/165
778s ok 908 /checksum/SHA256/166
778s ok 909 /checksum/SHA256/167
778s ok 910 /checksum/SHA256/168
778s ok 911 /checksum/SHA256/169
778s ok 912 /checksum/SHA256/170
778s ok 913 /checksum/SHA256/171
778s ok 914 /checksum/SHA256/172
778s ok 915 /checksum/SHA256/173
778s ok 916 /checksum/SHA256/174
778s ok 917 /checksum/SHA256/175
778s ok 918 /checksum/SHA256/176
778s ok 919 /checksum/SHA256/177
778s ok 920 /checksum/SHA256/178
778s ok 921 /checksum/SHA256/179
778s ok 922 /checksum/SHA256/180
778s ok 923 /checksum/SHA256/181
778s ok 924 /checksum/SHA256/182
778s ok 925 /checksum/SHA256/183
778s ok 926 /checksum/SHA256/string
778s ok 927 /checksum/SHA256/bytes
778s # Start of reset tests
778s ok 928 /checksum/SHA256/reset/0
778s ok 929 /checksum/SHA256/reset/1
778s ok 930 /checksum/SHA256/reset/2
778s ok 931 /checksum/SHA256/reset/3
778s ok 932 /checksum/SHA256/reset/4
778s ok 933 /checksum/SHA256/reset/5
778s ok 934 /checksum/SHA256/reset/6
778s ok 935 /checksum/SHA256/reset/7
778s ok 936 /checksum/SHA256/reset/8
778s ok 937 /checksum/SHA256/reset/9
778s ok 938 /checksum/SHA256/reset/10
778s ok 939 /checksum/SHA256/reset/11
778s ok 940 /checksum/SHA256/reset/12
778s ok 941 /checksum/SHA256/reset/13
778s ok 942 /checksum/SHA256/reset/14
778s ok 943 /checksum/SHA256/reset/15
778s ok 944 /checksum/SHA256/reset/16
778s ok 945 /checksum/SHA256/reset/17
778s ok 946 /checksum/SHA256/reset/18
778s ok 947 /checksum/SHA256/reset/19
778s ok 948 /checksum/SHA256/reset/20
778s ok 949 /checksum/SHA256/reset/21
778s ok 950 /checksum/SHA256/reset/22
778s ok 951 /checksum/SHA256/reset/23
778s ok 952 /checksum/SHA256/reset/24
778s ok 953 /checksum/SHA256/reset/25
778s ok 954 /checksum/SHA256/reset/26
778s ok 955 /checksum/SHA256/reset/27
778s ok 956 /checksum/SHA256/reset/28
778s ok 957 /checksum/SHA256/reset/29
778s ok 958 /checksum/SHA256/reset/30
778s ok 959 /checksum/SHA256/reset/31
778s ok 960 /checksum/SHA256/reset/32
778s ok 961 /checksum/SHA256/reset/33
778s ok 962 /checksum/SHA256/reset/34
778s ok 963 /checksum/SHA256/reset/35
778s ok 964 /checksum/SHA256/reset/36
778s ok 965 /checksum/SHA256/reset/37
778s ok 966 /checksum/SHA256/reset/38
778s ok 967 /checksum/SHA256/reset/39
778s ok 968 /checksum/SHA256/reset/40
778s ok 969 /checksum/SHA256/reset/41
778s ok 970 /checksum/SHA256/reset/42
778s ok 971 /checksum/SHA256/reset/43
778s ok 972 /checksum/SHA256/reset/44
778s ok 973 /checksum/SHA256/reset/45
778s ok 974 /checksum/SHA256/reset/46
778s ok 975 /checksum/SHA256/reset/47
778s ok 976 /checksum/SHA256/reset/48
778s ok 977 /checksum/SHA256/reset/49
778s ok 978 /checksum/SHA256/reset/50
778s ok 979 /checksum/SHA256/reset/51
778s ok 980 /checksum/SHA256/reset/52
778s ok 981 /checksum/SHA256/reset/53
778s ok 982 /checksum/SHA256/reset/54
778s ok 983 /checksum/SHA256/reset/55
778s ok 984 /checksum/SHA256/reset/56
778s ok 985 /checksum/SHA256/reset/57
778s ok 986 /checksum/SHA256/reset/58
778s ok 987 /checksum/SHA256/reset/59
778s ok 988 /checksum/SHA256/reset/60
778s ok 989 /checksum/SHA256/reset/61
778s ok 990 /checksum/SHA256/reset/62
778s ok 991 /checksum/SHA256/reset/63
778s ok 992 /checksum/SHA256/reset/64
778s ok 993 /checksum/SHA256/reset/65
778s ok 994 /checksum/SHA256/reset/66
778s ok 995 /checksum/SHA256/reset/67
778s ok 996 /checksum/SHA256/reset/68
778s ok 997 /checksum/SHA256/reset/69
778s ok 998 /checksum/SHA256/reset/70
778s ok 999 /checksum/SHA256/reset/71
778s ok 1000 /checksum/SHA256/reset/72
778s ok 1001 /checksum/SHA256/reset/73
778s ok 1002 /checksum/SHA256/reset/74
778s ok 1003 /checksum/SHA256/reset/75
778s ok 1004 /checksum/SHA256/reset/76
778s ok 1005 /checksum/SHA256/reset/77
778s ok 1006 /checksum/SHA256/reset/78
778s ok 1007 /checksum/SHA256/reset/79
778s ok 1008 /checksum/SHA256/reset/80
778s ok 1009 /checksum/SHA256/reset/81
778s ok 1010 /checksum/SHA256/reset/82
778s ok 1011 /checksum/SHA256/reset/83
778s ok 1012 /checksum/SHA256/reset/84
778s ok 1013 /checksum/SHA256/reset/85
778s ok 1014 /checksum/SHA256/reset/86
778s ok 1015 /checksum/SHA256/reset/87
778s ok 1016 /checksum/SHA256/reset/88
778s ok 1017 /checksum/SHA256/reset/89
778s ok 1018 /checksum/SHA256/reset/90
778s ok 1019 /checksum/SHA256/reset/91
778s ok 1020 /checksum/SHA256/reset/92
778s ok 1021 /checksum/SHA256/reset/93
778s ok 1022 /checksum/SHA256/reset/94
778s ok 1023 /checksum/SHA256/reset/95
778s ok 1024 /checksum/SHA256/reset/96
778s ok 1025 /checksum/SHA256/reset/97
778s ok 1026 /checksum/SHA256/reset/98
778s ok 1027 /checksum/SHA256/reset/99
778s ok 1028 /checksum/SHA256/reset/100
778s ok 1029 /checksum/SHA256/reset/101
778s ok 1030 /checksum/SHA256/reset/102
778s ok 1031 /checksum/SHA256/reset/103
778s ok 1032 /checksum/SHA256/reset/104
778s ok 1033 /checksum/SHA256/reset/105
778s ok 1034 /checksum/SHA256/reset/106
778s ok 1035 /checksum/SHA256/reset/107
778s ok 1036 /checksum/SHA256/reset/108
778s ok 1037 /checksum/SHA256/reset/109
778s ok 1038 /checksum/SHA256/reset/110
778s ok 1039 /checksum/SHA256/reset/111
778s ok 1040 /checksum/SHA256/reset/112
778s ok 1041 /checksum/SHA256/reset/113
778s ok 1042 /checksum/SHA256/reset/114
778s ok 1043 /checksum/SHA256/reset/115
778s ok 1044 /checksum/SHA256/reset/116
778s ok 1045 /checksum/SHA256/reset/117
778s ok 1046 /checksum/SHA256/reset/118
778s ok 1047 /checksum/SHA256/reset/119
778s ok 1048 /checksum/SHA256/reset/120
778s ok 1049 /checksum/SHA256/reset/121
778s ok 1050 /checksum/SHA256/reset/122
778s ok 1051 /checksum/SHA256/reset/123
778s ok 1052 /checksum/SHA256/reset/124
778s ok 1053 /checksum/SHA256/reset/125
778s ok 1054 /checksum/SHA256/reset/126
778s ok 1055 /checksum/SHA256/reset/127
778s ok 1056 /checksum/SHA256/reset/128
778s ok 1057 /checksum/SHA256/reset/129
778s ok 1058 /checksum/SHA256/reset/130
778s ok 1059 /checksum/SHA256/reset/131
778s ok 1060 /checksum/SHA256/reset/132
778s ok 1061 /checksum/SHA256/reset/133
778s ok 1062 /checksum/SHA256/reset/134
778s ok 1063 /checksum/SHA256/reset/135
778s ok 1064 /checksum/SHA256/reset/136
778s ok 1065 /checksum/SHA256/reset/137
778s ok 1066 /checksum/SHA256/reset/138
778s ok 1067 /checksum/SHA256/reset/139
778s ok 1068 /checksum/SHA256/reset/140
778s ok 1069 /checksum/SHA256/reset/141
778s ok 1070 /checksum/SHA256/reset/142
778s ok 1071 /checksum/SHA256/reset/143
778s ok 1072 /checksum/SHA256/reset/144
778s ok 1073 /checksum/SHA256/reset/145
778s ok 1074 /checksum/SHA256/reset/146
778s ok 1075 /checksum/SHA256/reset/147
778s ok 1076 /checksum/SHA256/reset/148
778s ok 1077 /checksum/SHA256/reset/149
778s ok 1078 /checksum/SHA256/reset/150
778s ok 1079 /checksum/SHA256/reset/151
778s ok 1080 /checksum/SHA256/reset/152
778s ok 1081 /checksum/SHA256/reset/153
778s ok 1082 /checksum/SHA256/reset/154
778s ok 1083 /checksum/SHA256/reset/155
778s ok 1084 /checksum/SHA256/reset/156
778s ok 1085 /checksum/SHA256/reset/157
778s ok 1086 /checksum/SHA256/reset/158
778s ok 1087 /checksum/SHA256/reset/159
778s ok 1088 /checksum/SHA256/reset/160
778s ok 1089 /checksum/SHA256/reset/161
778s ok 1090 /checksum/SHA256/reset/162
778s ok 1091 /checksum/SHA256/reset/163
778s ok 1092 /checksum/SHA256/reset/164
778s ok 1093 /checksum/SHA256/reset/165
778s ok 1094 /checksum/SHA256/reset/166
778s ok 1095 /checksum/SHA256/reset/167
778s ok 1096 /checksum/SHA256/reset/168
778s ok 1097 /checksum/SHA256/reset/169
778s ok 1098 /checksum/SHA256/reset/170
778s ok 1099 /checksum/SHA256/reset/171
778s ok 1100 /checksum/SHA256/reset/172
778s ok 1101 /checksum/SHA256/reset/173
778s ok 1102 /checksum/SHA256/reset/174
778s ok 1103 /checksum/SHA256/reset/175
778s ok 1104 /checksum/SHA256/reset/176
778s ok 1105 /checksum/SHA256/reset/177
778s ok 1106 /checksum/SHA256/reset/178
778s ok 1107 /checksum/SHA256/reset/179
778s ok 1108 /checksum/SHA256/reset/180
778s ok 1109 /checksum/SHA256/reset/181
778s ok 1110 /checksum/SHA256/reset/182
778s ok 1111 /checksum/SHA256/reset/183
778s # End of reset tests
778s # End of SHA256 tests
778s # Start of SHA384 tests
778s ok 1112 /checksum/SHA384/0
778s ok 1113 /checksum/SHA384/1
778s ok 1114 /checksum/SHA384/2
778s ok 1115 /checksum/SHA384/3
778s ok 1116 /checksum/SHA384/4
778s ok 1117 /checksum/SHA384/5
778s ok 1118 /checksum/SHA384/6
778s ok 1119 /checksum/SHA384/7
778s ok 1120 /checksum/SHA384/8
778s ok 1121 /checksum/SHA384/9
778s ok 1122 /checksum/SHA384/10
778s ok 1123 /checksum/SHA384/11
778s ok 1124 /checksum/SHA384/12
778s ok 1125 /checksum/SHA384/13
778s ok 1126 /checksum/SHA384/14
778s ok 1127 /checksum/SHA384/15
778s ok 1128 /checksum/SHA384/16
778s ok 1129 /checksum/SHA384/17
778s ok 1130 /checksum/SHA384/18
778s ok 1131 /checksum/SHA384/19
778s ok 1132 /checksum/SHA384/20
778s ok 1133 /checksum/SHA384/21
778s ok 1134 /checksum/SHA384/22
778s ok 1135 /checksum/SHA384/23
778s ok 1136 /checksum/SHA384/24
778s ok 1137 /checksum/SHA384/25
778s ok 1138 /checksum/SHA384/26
778s ok 1139 /checksum/SHA384/27
778s ok 1140 /checksum/SHA384/28
778s ok 1141 /checksum/SHA384/29
778s ok 1142 /checksum/SHA384/30
778s ok 1143 /checksum/SHA384/31
778s ok 1144 /checksum/SHA384/32
778s ok 1145 /checksum/SHA384/33
778s ok 1146 /checksum/SHA384/34
778s ok 1147 /checksum/SHA384/35
778s ok 1148 /checksum/SHA384/36
778s ok 1149 /checksum/SHA384/37
778s ok 1150 /checksum/SHA384/38
778s ok 1151 /checksum/SHA384/39
778s ok 1152 /checksum/SHA384/40
778s ok 1153 /checksum/SHA384/41
778s ok 1154 /checksum/SHA384/42
778s ok 1155 /checksum/SHA384/43
778s ok 1156 /checksum/SHA384/44
778s ok 1157 /checksum/SHA384/45
778s ok 1158 /checksum/SHA384/46
778s ok 1159 /checksum/SHA384/47
778s ok 1160 /checksum/SHA384/48
778s ok 1161 /checksum/SHA384/49
778s ok 1162 /checksum/SHA384/50
778s ok 1163 /checksum/SHA384/51
778s ok 1164 /checksum/SHA384/52
778s ok 1165 /checksum/SHA384/53
778s ok 1166 /checksum/SHA384/54
778s ok 1167 /checksum/SHA384/55
778s ok 1168 /checksum/SHA384/56
778s ok 1169 /checksum/SHA384/57
778s ok 1170 /checksum/SHA384/58
778s ok 1171 /checksum/SHA384/59
778s ok 1172 /checksum/SHA384/60
778s ok 1173 /checksum/SHA384/61
778s ok 1174 /checksum/SHA384/62
778s ok 1175 /checksum/SHA384/63
778s ok 1176 /checksum/SHA384/64
778s ok 1177 /checksum/SHA384/65
778s ok 1178 /checksum/SHA384/66
778s ok 1179 /checksum/SHA384/67
778s ok 1180 /checksum/SHA384/68
778s ok 1181 /checksum/SHA384/69
778s ok 1182 /checksum/SHA384/70
778s ok 1183 /checksum/SHA384/71
778s ok 1184 /checksum/SHA384/72
778s ok 1185 /checksum/SHA384/73
778s ok 1186 /checksum/SHA384/74
778s ok 1187 /checksum/SHA384/75
778s ok 1188 /checksum/SHA384/76
778s ok 1189 /checksum/SHA384/77
778s ok 1190 /checksum/SHA384/78
778s ok 1191 /checksum/SHA384/79
778s ok 1192 /checksum/SHA384/80
778s ok 1193 /checksum/SHA384/81
778s ok 1194 /checksum/SHA384/82
778s ok 1195 /checksum/SHA384/83
778s ok 1196 /checksum/SHA384/84
778s ok 1197 /checksum/SHA384/85
778s ok 1198 /checksum/SHA384/86
778s ok 1199 /checksum/SHA384/87
778s ok 1200 /checksum/SHA384/88
778s ok 1201 /checksum/SHA384/89
778s ok 1202 /checksum/SHA384/90
778s ok 1203 /checksum/SHA384/91
778s ok 1204 /checksum/SHA384/92
778s ok 1205 /checksum/SHA384/93
778s ok 1206 /checksum/SHA384/94
778s ok 1207 /checksum/SHA384/95
778s ok 1208 /checksum/SHA384/96
778s ok 1209 /checksum/SHA384/97
778s ok 1210 /checksum/SHA384/98
778s ok 1211 /checksum/SHA384/99
778s ok 1212 /checksum/SHA384/100
778s ok 1213 /checksum/SHA384/101
778s ok 1214 /checksum/SHA384/102
778s ok 1215 /checksum/SHA384/103
778s ok 1216 /checksum/SHA384/104
778s ok 1217 /checksum/SHA384/105
778s ok 1218 /checksum/SHA384/106
778s ok 1219 /checksum/SHA384/107
778s ok 1220 /checksum/SHA384/108
778s ok 1221 /checksum/SHA384/109
778s ok 1222 /checksum/SHA384/110
778s ok 1223 /checksum/SHA384/111
778s ok 1224 /checksum/SHA384/112
778s ok 1225 /checksum/SHA384/113
778s ok 1226 /checksum/SHA384/114
778s ok 1227 /checksum/SHA384/115
778s ok 1228 /checksum/SHA384/116
778s ok 1229 /checksum/SHA384/117
778s ok 1230 /checksum/SHA384/118
778s ok 1231 /checksum/SHA384/119
778s ok 1232 /checksum/SHA384/120
778s ok 1233 /checksum/SHA384/121
778s ok 1234 /checksum/SHA384/122
778s ok 1235 /checksum/SHA384/123
778s ok 1236 /checksum/SHA384/124
778s ok 1237 /checksum/SHA384/125
778s ok 1238 /checksum/SHA384/126
778s ok 1239 /checksum/SHA384/127
778s ok 1240 /checksum/SHA384/128
778s ok 1241 /checksum/SHA384/129
778s ok 1242 /checksum/SHA384/130
778s ok 1243 /checksum/SHA384/131
778s ok 1244 /checksum/SHA384/132
778s ok 1245 /checksum/SHA384/133
778s ok 1246 /checksum/SHA384/134
778s ok 1247 /checksum/SHA384/135
778s ok 1248 /checksum/SHA384/136
778s ok 1249 /checksum/SHA384/137
778s ok 1250 /checksum/SHA384/138
778s ok 1251 /checksum/SHA384/139
778s ok 1252 /checksum/SHA384/140
778s ok 1253 /checksum/SHA384/141
778s ok 1254 /checksum/SHA384/142
778s ok 1255 /checksum/SHA384/143
778s ok 1256 /checksum/SHA384/144
778s ok 1257 /checksum/SHA384/145
778s ok 1258 /checksum/SHA384/146
778s ok 1259 /checksum/SHA384/147
778s ok 1260 /checksum/SHA384/148
778s ok 1261 /checksum/SHA384/149
778s ok 1262 /checksum/SHA384/150
778s ok 1263 /checksum/SHA384/151
778s ok 1264 /checksum/SHA384/152
778s ok 1265 /checksum/SHA384/153
778s ok 1266 /checksum/SHA384/154
778s ok 1267 /checksum/SHA384/155
778s ok 1268 /checksum/SHA384/156
778s ok 1269 /checksum/SHA384/157
778s ok 1270 /checksum/SHA384/158
778s ok 1271 /checksum/SHA384/159
778s ok 1272 /checksum/SHA384/160
778s ok 1273 /checksum/SHA384/161
778s ok 1274 /checksum/SHA384/162
778s ok 1275 /checksum/SHA384/163
778s ok 1276 /checksum/SHA384/164
778s ok 1277 /checksum/SHA384/165
778s ok 1278 /checksum/SHA384/166
778s ok 1279 /checksum/SHA384/167
778s ok 1280 /checksum/SHA384/168
778s ok 1281 /checksum/SHA384/169
778s ok 1282 /checksum/SHA384/170
778s ok 1283 /checksum/SHA384/171
778s ok 1284 /checksum/SHA384/172
778s ok 1285 /checksum/SHA384/173
778s ok 1286 /checksum/SHA384/174
778s ok 1287 /checksum/SHA384/175
778s ok 1288 /checksum/SHA384/176
778s ok 1289 /checksum/SHA384/177
778s ok 1290 /checksum/SHA384/178
778s ok 1291 /checksum/SHA384/179
778s ok 1292 /checksum/SHA384/180
778s ok 1293 /checksum/SHA384/181
778s ok 1294 /checksum/SHA384/182
778s ok 1295 /checksum/SHA384/183
778s ok 1296 /checksum/SHA384/string
778s ok 1297 /checksum/SHA384/bytes
778s # Start of reset tests
778s ok 1298 /checksum/SHA384/reset/0
778s ok 1299 /checksum/SHA384/reset/1
778s ok 1300 /checksum/SHA384/reset/2
778s ok 1301 /checksum/SHA384/reset/3
778s ok 1302 /checksum/SHA384/reset/4
778s ok 1303 /checksum/SHA384/reset/5
778s ok 1304 /checksum/SHA384/reset/6
778s ok 1305 /checksum/SHA384/reset/7
778s ok 1306 /checksum/SHA384/reset/8
778s ok 1307 /checksum/SHA384/reset/9
778s ok 1308 /checksum/SHA384/reset/10
778s ok 1309 /checksum/SHA384/reset/11
778s ok 1310 /checksum/SHA384/reset/12
778s ok 1311 /checksum/SHA384/reset/13
778s ok 1312 /checksum/SHA384/reset/14
778s ok 1313 /checksum/SHA384/reset/15
778s ok 1314 /checksum/SHA384/reset/16
778s ok 1315 /checksum/SHA384/reset/17
778s ok 1316 /checksum/SHA384/reset/18
778s ok 1317 /checksum/SHA384/reset/19
778s ok 1318 /checksum/SHA384/reset/20
778s ok 1319 /checksum/SHA384/reset/21
778s ok 1320 /checksum/SHA384/reset/22
778s ok 1321 /checksum/SHA384/reset/23
778s ok 1322 /checksum/SHA384/reset/24
778s ok 1323 /checksum/SHA384/reset/25
778s ok 1324 /checksum/SHA384/reset/26
778s ok 1325 /checksum/SHA384/reset/27
778s ok 1326 /checksum/SHA384/reset/28
778s ok 1327 /checksum/SHA384/reset/29
778s ok 1328 /checksum/SHA384/reset/30
778s ok 1329 /checksum/SHA384/reset/31
778s ok 1330 /checksum/SHA384/reset/32
778s ok 1331 /checksum/SHA384/reset/33
778s ok 1332 /checksum/SHA384/reset/34
778s ok 1333 /checksum/SHA384/reset/35
778s ok 1334 /checksum/SHA384/reset/36
778s ok 1335 /checksum/SHA384/reset/37
778s ok 1336 /checksum/SHA384/reset/38
778s ok 1337 /checksum/SHA384/reset/39
778s ok 1338 /checksum/SHA384/reset/40
778s ok 1339 /checksum/SHA384/reset/41
778s ok 1340 /checksum/SHA384/reset/42
778s ok 1341 /checksum/SHA384/reset/43
778s ok 1342 /checksum/SHA384/reset/44
778s ok 1343 /checksum/SHA384/reset/45
778s ok 1344 /checksum/SHA384/reset/46
778s ok 1345 /checksum/SHA384/reset/47
778s ok 1346 /checksum/SHA384/reset/48
778s ok 1347 /checksum/SHA384/reset/49
778s ok 1348 /checksum/SHA384/reset/50
778s ok 1349 /checksum/SHA384/reset/51
778s ok 1350 /checksum/SHA384/reset/52
778s ok 1351 /checksum/SHA384/reset/53
778s ok 1352 /checksum/SHA384/reset/54
778s ok 1353 /checksum/SHA384/reset/55
778s ok 1354 /checksum/SHA384/reset/56
778s ok 1355 /checksum/SHA384/reset/57
778s ok 1356 /checksum/SHA384/reset/58
778s ok 1357 /checksum/SHA384/reset/59
778s ok 1358 /checksum/SHA384/reset/60
778s ok 1359 /checksum/SHA384/reset/61
778s ok 1360 /checksum/SHA384/reset/62
778s ok 1361 /checksum/SHA384/reset/63
778s ok 1362 /checksum/SHA384/reset/64
778s ok 1363 /checksum/SHA384/reset/65
778s ok 1364 /checksum/SHA384/reset/66
778s ok 1365 /checksum/SHA384/reset/67
778s ok 1366 /checksum/SHA384/reset/68
778s ok 1367 /checksum/SHA384/reset/69
778s ok 1368 /checksum/SHA384/reset/70
778s ok 1369 /checksum/SHA384/reset/71
778s ok 1370 /checksum/SHA384/reset/72
778s ok 1371 /checksum/SHA384/reset/73
778s ok 1372 /checksum/SHA384/reset/74
778s ok 1373 /checksum/SHA384/reset/75
778s ok 1374 /checksum/SHA384/reset/76
778s ok 1375 /checksum/SHA384/reset/77
778s ok 1376 /checksum/SHA384/reset/78
778s ok 1377 /checksum/SHA384/reset/79
778s ok 1378 /checksum/SHA384/reset/80
778s ok 1379 /checksum/SHA384/reset/81
778s ok 1380 /checksum/SHA384/reset/82
778s ok 1381 /checksum/SHA384/reset/83
778s ok 1382 /checksum/SHA384/reset/84
778s ok 1383 /checksum/SHA384/reset/85
778s ok 1384 /checksum/SHA384/reset/86
778s ok 1385 /checksum/SHA384/reset/87
778s ok 1386 /checksum/SHA384/reset/88
778s ok 1387 /checksum/SHA384/reset/89
778s ok 1388 /checksum/SHA384/reset/90
778s ok 1389 /checksum/SHA384/reset/91
778s ok 1390 /checksum/SHA384/reset/92
778s ok 1391 /checksum/SHA384/reset/93
778s ok 1392 /checksum/SHA384/reset/94
778s ok 1393 /checksum/SHA384/reset/95
778s ok 1394 /checksum/SHA384/reset/96
778s ok 1395 /checksum/SHA384/reset/97
778s ok 1396 /checksum/SHA384/reset/98
778s ok 1397 /checksum/SHA384/reset/99
778s ok 1398 /checksum/SHA384/reset/100
778s ok 1399 /checksum/SHA384/reset/101
778s ok 1400 /checksum/SHA384/reset/102
778s ok 1401 /checksum/SHA384/reset/103
778s ok 1402 /checksum/SHA384/reset/104
778s ok 1403 /checksum/SHA384/reset/105
778s ok 1404 /checksum/SHA384/reset/106
778s ok 1405 /checksum/SHA384/reset/107
778s ok 1406 /checksum/SHA384/reset/108
778s ok 1407 /checksum/SHA384/reset/109
778s ok 1408 /checksum/SHA384/reset/110
778s ok 1409 /checksum/SHA384/reset/111
778s ok 1410 /checksum/SHA384/reset/112
778s ok 1411 /checksum/SHA384/reset/113
778s ok 1412 /checksum/SHA384/reset/114
778s ok 1413 /checksum/SHA384/reset/115
778s ok 1414 /checksum/SHA384/reset/116
778s ok 1415 /checksum/SHA384/reset/117
778s ok 1416 /checksum/SHA384/reset/118
778s ok 1417 /checksum/SHA384/reset/119
778s ok 1418 /checksum/SHA384/reset/120
778s ok 1419 /checksum/SHA384/reset/121
778s ok 1420 /checksum/SHA384/reset/122
778s ok 1421 /checksum/SHA384/reset/123
778s ok 1422 /checksum/SHA384/reset/124
778s ok 1423 /checksum/SHA384/reset/125
778s ok 1424 /checksum/SHA384/reset/126
778s ok 1425 /checksum/SHA384/reset/127
778s ok 1426 /checksum/SHA384/reset/128
778s ok 1427 /checksum/SHA384/reset/129
778s ok 1428 /checksum/SHA384/reset/130
778s ok 1429 /checksum/SHA384/reset/131
778s ok 1430 /checksum/SHA384/reset/132
778s ok 1431 /checksum/SHA384/reset/133
778s ok 1432 /checksum/SHA384/reset/134
778s ok 1433 /checksum/SHA384/reset/135
778s ok 1434 /checksum/SHA384/reset/136
778s ok 1435 /checksum/SHA384/reset/137
778s ok 1436 /checksum/SHA384/reset/138
778s ok 1437 /checksum/SHA384/reset/139
778s ok 1438 /checksum/SHA384/reset/140
778s ok 1439 /checksum/SHA384/reset/141
778s ok 1440 /checksum/SHA384/reset/142
778s ok 1441 /checksum/SHA384/reset/143
778s ok 1442 /checksum/SHA384/reset/144
778s ok 1443 /checksum/SHA384/reset/145
778s ok 1444 /checksum/SHA384/reset/146
778s ok 1445 /checksum/SHA384/reset/147
778s ok 1446 /checksum/SHA384/reset/148
778s ok 1447 /checksum/SHA384/reset/149
778s ok 1448 /checksum/SHA384/reset/150
778s ok 1449 /checksum/SHA384/reset/151
778s ok 1450 /checksum/SHA384/reset/152
778s ok 1451 /checksum/SHA384/reset/153
778s ok 1452 /checksum/SHA384/reset/154
778s ok 1453 /checksum/SHA384/reset/155
778s ok 1454 /checksum/SHA384/reset/156
778s ok 1455 /checksum/SHA384/reset/157
778s ok 1456 /checksum/SHA384/reset/158
778s ok 1457 /checksum/SHA384/reset/159
778s ok 1458 /checksum/SHA384/reset/160
778s ok 1459 /checksum/SHA384/reset/161
778s ok 1460 /checksum/SHA384/reset/162
778s ok 1461 /checksum/SHA384/reset/163
778s ok 1462 /checksum/SHA384/reset/164
778s ok 1463 /checksum/SHA384/reset/165
778s ok 1464 /checksum/SHA384/reset/166
778s ok 1465 /checksum/SHA384/reset/167
778s ok 1466 /checksum/SHA384/reset/168
778s ok 1467 /checksum/SHA384/reset/169
778s ok 1468 /checksum/SHA384/reset/170
778s ok 1469 /checksum/SHA384/reset/171
778s ok 1470 /checksum/SHA384/reset/172
778s ok 1471 /checksum/SHA384/reset/173
778s ok 1472 /checksum/SHA384/reset/174
778s ok 1473 /checksum/SHA384/reset/175
778s ok 1474 /checksum/SHA384/reset/176
778s ok 1475 /checksum/SHA384/reset/177
778s ok 1476 /checksum/SHA384/reset/178
778s ok 1477 /checksum/SHA384/reset/179
778s ok 1478 /checksum/SHA384/reset/180
778s ok 1479 /checksum/SHA384/reset/181
778s ok 1480 /checksum/SHA384/reset/182
778s ok 1481 /checksum/SHA384/reset/183
778s # End of reset tests
778s # End of SHA384 tests
778s # Start of SHA512 tests
778s ok 1482 /checksum/SHA512/0
778s ok 1483 /checksum/SHA512/1
778s ok 1484 /checksum/SHA512/2
778s ok 1485 /checksum/SHA512/3
778s ok 1486 /checksum/SHA512/4
778s ok 1487 /checksum/SHA512/5
778s ok 1488 /checksum/SHA512/6
778s ok 1489 /checksum/SHA512/7
778s ok 1490 /checksum/SHA512/8
778s ok 1491 /checksum/SHA512/9
778s ok 1492 /checksum/SHA512/10
778s ok 1493 /checksum/SHA512/11
778s ok 1494 /checksum/SHA512/12
778s ok 1495 /checksum/SHA512/13
778s ok 1496 /checksum/SHA512/14
778s ok 1497 /checksum/SHA512/15
778s ok 1498 /checksum/SHA512/16
778s ok 1499 /checksum/SHA512/17
778s ok 1500 /checksum/SHA512/18
778s ok 1501 /checksum/SHA512/19
778s ok 1502 /checksum/SHA512/20
778s ok 1503 /checksum/SHA512/21
778s ok 1504 /checksum/SHA512/22
778s ok 1505 /checksum/SHA512/23
778s ok 1506 /checksum/SHA512/24
778s ok 1507 /checksum/SHA512/25
778s ok 1508 /checksum/SHA512/26
778s ok 1509 /checksum/SHA512/27
778s ok 1510 /checksum/SHA512/28
778s ok 1511 /checksum/SHA512/29
778s ok 1512 /checksum/SHA512/30
778s ok 1513 /checksum/SHA512/31
778s ok 1514 /checksum/SHA512/32
778s ok 1515 /checksum/SHA512/33
778s ok 1516 /checksum/SHA512/34
778s ok 1517 /checksum/SHA512/35
778s ok 1518 /checksum/SHA512/36
778s ok 1519 /checksum/SHA512/37
778s ok 1520 /checksum/SHA512/38
778s ok 1521 /checksum/SHA512/39
778s ok 1522 /checksum/SHA512/40
778s ok 1523 /checksum/SHA512/41
778s ok 1524 /checksum/SHA512/42
778s ok 1525 /checksum/SHA512/43
778s ok 1526 /checksum/SHA512/44
778s ok 1527 /checksum/SHA512/45
778s ok 1528 /checksum/SHA512/46
778s ok 1529 /checksum/SHA512/47
778s ok 1530 /checksum/SHA512/48
778s ok 1531 /checksum/SHA512/49
778s ok 1532 /checksum/SHA512/50
778s ok 1533 /checksum/SHA512/51
778s ok 1534 /checksum/SHA512/52
778s ok 1535 /checksum/SHA512/53
778s ok 1536 /checksum/SHA512/54
778s ok 1537 /checksum/SHA512/55
778s ok 1538 /checksum/SHA512/56
778s ok 1539 /checksum/SHA512/57
778s ok 1540 /checksum/SHA512/58
778s ok 1541 /checksum/SHA512/59
778s ok 1542 /checksum/SHA512/60
778s ok 1543 /checksum/SHA512/61
778s ok 1544 /checksum/SHA512/62
778s ok 1545 /checksum/SHA512/63
778s ok 1546 /checksum/SHA512/64
778s ok 1547 /checksum/SHA512/65
778s ok 1548 /checksum/SHA512/66
778s ok 1549 /checksum/SHA512/67
778s ok 1550 /checksum/SHA512/68
778s ok 1551 /checksum/SHA512/69
778s ok 1552 /checksum/SHA512/70
778s ok 1553 /checksum/SHA512/71
778s ok 1554 /checksum/SHA512/72
778s ok 1555 /checksum/SHA512/73
778s ok 1556 /checksum/SHA512/74
778s ok 1557 /checksum/SHA512/75
778s ok 1558 /checksum/SHA512/76
778s ok 1559 /checksum/SHA512/77
778s ok 1560 /checksum/SHA512/78
778s ok 1561 /checksum/SHA512/79
778s ok 1562 /checksum/SHA512/80
778s ok 1563 /checksum/SHA512/81
778s ok 1564 /checksum/SHA512/82
778s ok 1565 /checksum/SHA512/83
778s ok 1566 /checksum/SHA512/84
778s ok 1567 /checksum/SHA512/85
778s ok 1568 /checksum/SHA512/86
778s ok 1569 /checksum/SHA512/87
778s ok 1570 /checksum/SHA512/88
778s ok 1571 /checksum/SHA512/89
778s ok 1572 /checksum/SHA512/90
778s ok 1573 /checksum/SHA512/91
778s ok 1574 /checksum/SHA512/92
778s ok 1575 /checksum/SHA512/93
778s ok 1576 /checksum/SHA512/94
778s ok 1577 /checksum/SHA512/95
778s ok 1578 /checksum/SHA512/96
778s ok 1579 /checksum/SHA512/97
778s ok 1580 /checksum/SHA512/98
778s ok 1581 /checksum/SHA512/99
778s ok 1582 /checksum/SHA512/100
778s ok 1583 /checksum/SHA512/101
778s ok 1584 /checksum/SHA512/102
778s ok 1585 /checksum/SHA512/103
778s ok 1586 /checksum/SHA512/104
778s ok 1587 /checksum/SHA512/105
778s ok 1588 /checksum/SHA512/106
778s ok 1589 /checksum/SHA512/107
778s ok 1590 /checksum/SHA512/108
778s ok 1591 /checksum/SHA512/109
778s ok 1592 /checksum/SHA512/110
778s ok 1593 /checksum/SHA512/111
778s ok 1594 /checksum/SHA512/112
778s ok 1595 /checksum/SHA512/113
778s ok 1596 /checksum/SHA512/114
778s ok 1597 /checksum/SHA512/115
778s ok 1598 /checksum/SHA512/116
778s ok 1599 /checksum/SHA512/117
778s ok 1600 /checksum/SHA512/118
778s ok 1601 /checksum/SHA512/119
778s ok 1602 /checksum/SHA512/120
778s ok 1603 /checksum/SHA512/121
778s ok 1604 /checksum/SHA512/122
778s ok 1605 /checksum/SHA512/123
778s ok 1606 /checksum/SHA512/124
778s ok 1607 /checksum/SHA512/125
778s ok 1608 /checksum/SHA512/126
778s ok 1609 /checksum/SHA512/127
778s ok 1610 /checksum/SHA512/128
778s ok 1611 /checksum/SHA512/129
778s ok 1612 /checksum/SHA512/130
778s ok 1613 /checksum/SHA512/131
778s ok 1614 /checksum/SHA512/132
778s ok 1615 /checksum/SHA512/133
778s ok 1616 /checksum/SHA512/134
778s ok 1617 /checksum/SHA512/135
778s ok 1618 /checksum/SHA512/136
778s ok 1619 /checksum/SHA512/137
778s ok 1620 /checksum/SHA512/138
778s ok 1621 /checksum/SHA512/139
778s ok 1622 /checksum/SHA512/140
778s ok 1623 /checksum/SHA512/141
778s ok 1624 /checksum/SHA512/142
778s ok 1625 /checksum/SHA512/143
778s ok 1626 /checksum/SHA512/144
778s ok 1627 /checksum/SHA512/145
778s ok 1628 /checksum/SHA512/146
778s ok 1629 /checksum/SHA512/147
778s ok 1630 /checksum/SHA512/148
778s ok 1631 /checksum/SHA512/149
778s ok 1632 /checksum/SHA512/150
778s ok 1633 /checksum/SHA512/151
778s ok 1634 /checksum/SHA512/152
778s ok 1635 /checksum/SHA512/153
778s ok 1636 /checksum/SHA512/154
778s ok 1637 /checksum/SHA512/155
778s ok 1638 /checksum/SHA512/156
778s ok 1639 /checksum/SHA512/157
778s ok 1640 /checksum/SHA512/158
778s ok 1641 /checksum/SHA512/159
778s ok 1642 /checksum/SHA512/160
778s ok 1643 /checksum/SHA512/161
778s ok 1644 /checksum/SHA512/162
778s ok 1645 /checksum/SHA512/163
778s ok 1646 /checksum/SHA512/164
778s ok 1647 /checksum/SHA512/165
778s ok 1648 /checksum/SHA512/166
778s ok 1649 /checksum/SHA512/167
778s ok 1650 /checksum/SHA512/168
778s ok 1651 /checksum/SHA512/169
778s ok 1652 /checksum/SHA512/170
778s ok 1653 /checksum/SHA512/171
778s ok 1654 /checksum/SHA512/172
778s ok 1655 /checksum/SHA512/173
778s ok 1656 /checksum/SHA512/174
778s ok 1657 /checksum/SHA512/175
778s ok 1658 /checksum/SHA512/176
778s ok 1659 /checksum/SHA512/177
778s ok 1660 /checksum/SHA512/178
778s ok 1661 /checksum/SHA512/179
778s ok 1662 /checksum/SHA512/180
778s ok 1663 /checksum/SHA512/181
778s ok 1664 /checksum/SHA512/182
778s ok 1665 /checksum/SHA512/183
778s ok 1666 /checksum/SHA512/string
778s ok 1667 /checksum/SHA512/bytes
778s # Start of reset tests
778s ok 1668 /checksum/SHA512/reset/0
778s ok 1669 /checksum/SHA512/reset/1
778s ok 1670 /checksum/SHA512/reset/2
778s ok 1671 /checksum/SHA512/reset/3
778s ok 1672 /checksum/SHA512/reset/4
778s ok 1673 /checksum/SHA512/reset/5
778s ok 1674 /checksum/SHA512/reset/6
778s ok 1675 /checksum/SHA512/reset/7
778s ok 1676 /checksum/SHA512/reset/8
778s ok 1677 /checksum/SHA512/reset/9
778s ok 1678 /checksum/SHA512/reset/10
778s ok 1679 /checksum/SHA512/reset/11
778s ok 1680 /checksum/SHA512/reset/12
778s ok 1681 /checksum/SHA512/reset/13
778s ok 1682 /checksum/SHA512/reset/14
778s ok 1683 /checksum/SHA512/reset/15
778s ok 1684 /checksum/SHA512/reset/16
778s ok 1685 /checksum/SHA512/reset/17
778s ok 1686 /checksum/SHA512/reset/18
778s ok 1687 /checksum/SHA512/reset/19
778s ok 1688 /checksum/SHA512/reset/20
778s ok 1689 /checksum/SHA512/reset/21
778s ok 1690 /checksum/SHA512/reset/22
778s ok 1691 /checksum/SHA512/reset/23
778s ok 1692 /checksum/SHA512/reset/24
778s ok 1693 /checksum/SHA512/reset/25
778s ok 1694 /checksum/SHA512/reset/26
778s ok 1695 /checksum/SHA512/reset/27
778s ok 1696 /checksum/SHA512/reset/28
778s ok 1697 /checksum/SHA512/reset/29
778s ok 1698 /checksum/SHA512/reset/30
778s ok 1699 /checksum/SHA512/reset/31
778s ok 1700 /checksum/SHA512/reset/32
778s ok 1701 /checksum/SHA512/reset/33
778s ok 1702 /checksum/SHA512/reset/34
778s ok 1703 /checksum/SHA512/reset/35
778s ok 1704 /checksum/SHA512/reset/36
778s ok 1705 /checksum/SHA512/reset/37
778s ok 1706 /checksum/SHA512/reset/38
778s ok 1707 /checksum/SHA512/reset/39
778s ok 1708 /checksum/SHA512/reset/40
778s ok 1709 /checksum/SHA512/reset/41
778s ok 1710 /checksum/SHA512/reset/42
778s ok 1711 /checksum/SHA512/reset/43
778s ok 1712 /checksum/SHA512/reset/44
778s ok 1713 /checksum/SHA512/reset/45
778s ok 1714 /checksum/SHA512/reset/46
778s ok 1715 /checksum/SHA512/reset/47
778s ok 1716 /checksum/SHA512/reset/48
778s ok 1717 /checksum/SHA512/reset/49
778s ok 1718 /checksum/SHA512/reset/50
778s ok 1719 /checksum/SHA512/reset/51
778s ok 1720 /checksum/SHA512/reset/52
778s ok 1721 /checksum/SHA512/reset/53
778s ok 1722 /checksum/SHA512/reset/54
778s ok 1723 /checksum/SHA512/reset/55
778s ok 1724 /checksum/SHA512/reset/56
778s ok 1725 /checksum/SHA512/reset/57
778s ok 1726 /checksum/SHA512/reset/58
778s ok 1727 /checksum/SHA512/reset/59
778s ok 1728 /checksum/SHA512/reset/60
778s ok 1729 /checksum/SHA512/reset/61
778s ok 1730 /checksum/SHA512/reset/62
778s ok 1731 /checksum/SHA512/reset/63
778s ok 1732 /checksum/SHA512/reset/64
778s ok 1733 /checksum/SHA512/reset/65
778s ok 1734 /checksum/SHA512/reset/66
778s ok 1735 /checksum/SHA512/reset/67
778s ok 1736 /checksum/SHA512/reset/68
778s ok 1737 /checksum/SHA512/reset/69
778s ok 1738 /checksum/SHA512/reset/70
778s ok 1739 /checksum/SHA512/reset/71
778s ok 1740 /checksum/SHA512/reset/72
778s ok 1741 /checksum/SHA512/reset/73
778s ok 1742 /checksum/SHA512/reset/74
778s ok 1743 /checksum/SHA512/reset/75
778s ok 1744 /checksum/SHA512/reset/76
778s ok 1745 /checksum/SHA512/reset/77
778s ok 1746 /checksum/SHA512/reset/78
778s ok 1747 /checksum/SHA512/reset/79
778s ok 1748 /checksum/SHA512/reset/80
778s ok 1749 /checksum/SHA512/reset/81
778s ok 1750 /checksum/SHA512/reset/82
778s ok 1751 /checksum/SHA512/reset/83
778s ok 1752 /checksum/SHA512/reset/84
778s ok 1753 /checksum/SHA512/reset/85
778s ok 1754 /checksum/SHA512/reset/86
778s ok 1755 /checksum/SHA512/reset/87
778s ok 1756 /checksum/SHA512/reset/88
778s ok 1757 /checksum/SHA512/reset/89
778s ok 1758 /checksum/SHA512/reset/90
778s ok 1759 /checksum/SHA512/reset/91
778s ok 1760 /checksum/SHA512/reset/92
778s ok 1761 /checksum/SHA512/reset/93
778s ok 1762 /checksum/SHA512/reset/94
778s ok 1763 /checksum/SHA512/reset/95
778s ok 1764 /checksum/SHA512/reset/96
778s ok 1765 /checksum/SHA512/reset/97
778s ok 1766 /checksum/SHA512/reset/98
778s ok 1767 /checksum/SHA512/reset/99
778s ok 1768 /checksum/SHA512/reset/100
778s ok 1769 /checksum/SHA512/reset/101
778s ok 1770 /checksum/SHA512/reset/102
778s ok 1771 /checksum/SHA512/reset/103
778s ok 1772 /checksum/SHA512/reset/104
778s ok 1773 /checksum/SHA512/reset/105
778s ok 1774 /checksum/SHA512/reset/106
778s ok 1775 /checksum/SHA512/reset/107
778s ok 1776 /checksum/SHA512/reset/108
778s ok 1777 /checksum/SHA512/reset/109
778s ok 1778 /checksum/SHA512/reset/110
778s ok 1779 /checksum/SHA512/reset/111
778s ok 1780 /checksum/SHA512/reset/112
778s ok 1781 /checksum/SHA512/reset/113
778s ok 1782 /checksum/SHA512/reset/114
778s ok 1783 /checksum/SHA512/reset/115
778s ok 1784 /checksum/SHA512/reset/116
778s ok 1785 /checksum/SHA512/reset/117
778s ok 1786 /checksum/SHA512/reset/118
778s ok 1787 /checksum/SHA512/reset/119
778s ok 1788 /checksum/SHA512/reset/120
778s ok 1789 /checksum/SHA512/reset/121
778s ok 1790 /checksum/SHA512/reset/122
778s ok 1791 /checksum/SHA512/reset/123
778s ok 1792 /checksum/SHA512/reset/124
778s ok 1793 /checksum/SHA512/reset/125
778s ok 1794 /checksum/SHA512/reset/126
778s ok 1795 /checksum/SHA512/reset/127
778s ok 1796 /checksum/SHA512/reset/128
778s ok 1797 /checksum/SHA512/reset/129
778s ok 1798 /checksum/SHA512/reset/130
778s ok 1799 /checksum/SHA512/reset/131
778s ok 1800 /checksum/SHA512/reset/132
778s ok 1801 /checksum/SHA512/reset/133
778s ok 1802 /checksum/SHA512/reset/134
778s ok 1803 /checksum/SHA512/reset/135
778s ok 1804 /checksum/SHA512/reset/136
778s ok 1805 /checksum/SHA512/reset/137
778s ok 1806 /checksum/SHA512/reset/138
778s ok 1807 /checksum/SHA512/reset/139
778s ok 1808 /checksum/SHA512/reset/140
778s ok 1809 /checksum/SHA512/reset/141
778s ok 1810 /checksum/SHA512/reset/142
778s ok 1811 /checksum/SHA512/reset/143
778s ok 1812 /checksum/SHA512/reset/144
778s ok 1813 /checksum/SHA512/reset/145
778s ok 1814 /checksum/SHA512/reset/146
778s ok 1815 /checksum/SHA512/reset/147
778s ok 1816 /checksum/SHA512/reset/148
778s ok 1817 /checksum/SHA512/reset/149
778s ok 1818 /checksum/SHA512/reset/150
778s ok 1819 /checksum/SHA512/reset/151
778s ok 1820 /checksum/SHA512/reset/152
778s ok 1821 /checksum/SHA512/reset/153
778s ok 1822 /checksum/SHA512/reset/154
778s ok 1823 /checksum/SHA512/reset/155
778s ok 1824 /checksum/SHA512/reset/156
778s ok 1825 /checksum/SHA512/reset/157
778s ok 1826 /checksum/SHA512/reset/158
778s ok 1827 /checksum/SHA512/reset/159
778s ok 1828 /checksum/SHA512/reset/160
778s ok 1829 /checksum/SHA512/reset/161
778s ok 1830 /checksum/SHA512/reset/162
778s ok 1831 /checksum/SHA512/reset/163
778s ok 1832 /checksum/SHA512/reset/164
778s ok 1833 /checksum/SHA512/reset/165
778s ok 1834 /checksum/SHA512/reset/166
778s ok 1835 /checksum/SHA512/reset/167
778s ok 1836 /checksum/SHA512/reset/168
778s ok 1837 /checksum/SHA512/reset/169
778s ok 1838 /checksum/SHA512/reset/170
778s ok 1839 /checksum/SHA512/reset/171
778s ok 1840 /checksum/SHA512/reset/172
778s ok 1841 /checksum/SHA512/reset/173
778s ok 1842 /checksum/SHA512/reset/174
778s ok 1843 /checksum/SHA512/reset/175
778s ok 1844 /checksum/SHA512/reset/176
778s ok 1845 /checksum/SHA512/reset/177
778s ok 1846 /checksum/SHA512/reset/178
778s ok 1847 /checksum/SHA512/reset/179
778s ok 1848 /checksum/SHA512/reset/180
778s ok 1849 /checksum/SHA512/reset/181
778s ok 1850 /checksum/SHA512/reset/182
778s ok 1851 /checksum/SHA512/reset/183
778s # End of reset tests
778s # End of SHA512 tests
778s # End of checksum tests
778s ok - glib/checksum.test
778s # Running test: glib/gobject-private.test
778s TAP version 14
778s # random seed: R02S882927fb65f75605d5cd986f84b8763b
778s 1..3
778s # Start of private tests
778s ok 1 /private/instance
778s ok 2 /private/derived-instance
778s ok 3 /private/mixed-derived-instance
778s # End of private tests
778s ok - glib/gobject-private.test
778s # Running test: glib/guuid.test
778s TAP version 14
778s # random seed: R02S4108dea9c5eaf7f1ceb36e3dfb680585
778s 1..2
778s # Start of uuid tests
778s ok 1 /uuid/string
778s ok 2 /uuid/random
778s # End of uuid tests
778s ok - glib/guuid.test
778s # Running test: glib/test-printf.test
778s TAP version 14
778s # random seed: R02S5aef1df383a3babd7efd181768bbdbd1
778s 1..24
778s # Start of snprintf tests
778s ok 1 /snprintf/retval-and-trunc
778s ok 2 /snprintf/%d
778s ok 3 /snprintf/%d-invalid
778s ok 4 /snprintf/%o
778s ok 5 /snprintf/%u
778s ok 6 /snprintf/%x
778s ok 7 /snprintf/%X
778s ok 8 /snprintf/%f
778s ok 9 /snprintf/%e
778s ok 10 /snprintf/%c
778s ok 11 /snprintf/%s
778s ok 12 /snprintf/%n
778s ok 13 /snprintf/test-percent
778s ok 14 /snprintf/test-positional-params
778s ok 15 /snprintf/test-64bit
778s ok 16 /snprintf/produce-embedded-nulls
778s # End of snprintf tests
778s # Start of printf tests
778s ok 17 /printf/test-percent
778s ok 18 /printf/test-positional-params
778s ok 19 /printf/test-64bit
778s # Start of test-64bit tests
778s # Start of subprocess tests
778s # End of subprocess tests
778s # End of test-64bit tests
778s # End of printf tests
778s # Start of fprintf tests
778s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3761
778s # /fprintf/produce-embedded-nulls summary: printf() functions can produce strings with embedded null characters. That happens when passing individual characters (%c) with value '
778s ok 20 /fprintf/produce-embedded-nulls
778s # End of fprintf tests
778s # Start of sprintf tests
778s ok 21 /sprintf/test-positional-params
778s ok 22 /sprintf/upper-bound
778s # End of sprintf tests
778s # Start of vasprintf tests
778s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
778s ok 23 /vasprintf/invalid-format-placeholder
778s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
778s ok 24 /vasprintf/invalid-wide-string
778s # End of vasprintf tests
778s ok - glib/test-printf.test
778s # Running test: glib/appmonitor.test
778s TAP version 14
778s # random seed: R02Sb22d8600a14ec9989792eaa5de1e8228
778s 1..1
778s # Start of monitor tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_77WHK3/monitor/app/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_77WHK3/monitor/app/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/runtime
778s # Using data directory: /tmp/test_appmonitor_77WHK3/monitor/app/.dirs/data
778s ok 1 /monitor/app
778s # End of monitor tests
778s ok - glib/appmonitor.test
778s # Running test: glib/autoptr-girepository.test
778s TAP version 14
778s # random seed: R02S97a26adcfc5f836fe83e74347aeb1285
778s 1..24
778s # Start of autoptr tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/repository/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 1 /autoptr/repository
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/typelib/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 2 /autoptr/typelib
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/base-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 3 /autoptr/base-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/arg-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 4 /autoptr/arg-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callable-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 5 /autoptr/callable-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/callback-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 6 /autoptr/callback-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/constant-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 7 /autoptr/constant-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/enum-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 8 /autoptr/enum-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/field-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 9 /autoptr/field-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/flags-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 10 /autoptr/flags-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/function-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 11 /autoptr/function-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/interface-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 12 /autoptr/interface-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/object-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 13 /autoptr/object-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/property-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 14 /autoptr/property-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/registered-type-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 15 /autoptr/registered-type-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/signal-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 16 /autoptr/signal-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/struct-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 17 /autoptr/struct-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/type-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 18 /autoptr/type-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/union-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 19 /autoptr/union-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/value-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 20 /autoptr/value-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/autoptr/vfunc-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 21 /autoptr/vfunc-info
778s # End of autoptr tests
778s # Start of auto tests
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/auto/arg-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 22 /auto/arg-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/auto/type-info/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 23 /auto/type-info
778s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/home
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/cache
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/system-config2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/config
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/system-data2
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/data
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/state
778s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_XEPHK3/auto/function-invoker/.dirs/runtime
778s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
778s ok 24 /auto/function-invoker
778s # End of auto tests
778s ok - glib/autoptr-girepository.test
778s # Running test: glib/properties-refcount3.test
778s TAP version 14
778s # random seed: R02S0536d894c1d5076efc0f0f7f914c77db
778s 1..1
778s # Start of gobject tests
778s # Start of refcount tests
779s # Executing: glib/properties-refcount3.test
784s # Executing: glib/properties-refcount3.test
789s # Executing: glib/properties-refcount3.test
794s # Executing: glib/properties-refcount3.test
799s # Executing: glib/properties-refcount3.test
804s # Executing: glib/properties-refcount3.test
808s #
808s # stopping
808s #
808s # stopped
808s #
808s # 25558305 1203399
808s #
808s ok 1 /gobject/refcount/properties-3
808s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
808s # End of refcount tests
808s # End of gobject tests
808s TAP version 14
808s # random seed: R02S0b9cb63a7355f69468c784cb8f4ffb2f
808s 1..10
808s # Start of data-input-stream tests
808s ok 1 /data-input-stream/basic
808s ok - glib/properties-refcount3.test
808s # Running test: glib/data-input-stream.test
808s ok 2 /data-input-stream/read-lines-LF
808s ok 3 /data-input-stream/read-lines-LF-valid-utf8
808s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
808s ok 5 /data-input-stream/read-lines-CR
808s ok 6 /data-input-stream/read-lines-CR-LF
808s ok 7 /data-input-stream/read-lines-any
808s ok 8 /data-input-stream/read-until
808s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^
808s # Test vector 1: {"key": "value"}? and ?
808s ok 9 /data-input-stream/read-upto
809s ok 10 /data-input-stream/read-int
809s # End of data-input-stream tests
809s ok - glib/data-input-stream.test
809s # Running test: glib/collate.test
809s TAP version 14
809s # random seed: R02S1d27a49ba6f48932a785f0fa4faa99a8
809s 1..9
809s # Start of unicode tests
809s # Start of collate tests
809s ok 1 /unicode/collate/0
809s ok 2 /unicode/collate/1
809s ok 3 /unicode/collate/2
809s # End of collate tests
809s # Start of collate-key tests
809s ok 4 /unicode/collate-key/0
809s ok 5 /unicode/collate-key/1
809s ok 6 /unicode/collate-key/2
809s # End of collate-key tests
809s # Start of collate-filename tests
809s ok 7 /unicode/collate-filename/0
809s ok 8 /unicode/collate-filename/1
809s ok - glib/collate.test
809s # Running test: glib/performance.test
809s ok 9 /unicode/collate-filename/2
809s # End of collate-filename tests
809s # End of unicode tests
809s # Executing: glib/performance.test
814s # Executing: glib/performance.test
815s simple-construction: Millions of constructed objects per second: 17.584
818s simple-construction1: Millions of constructed objects per second: 73.358
819s # Executing: glib/performance.test
821s complex-construction: Millions of constructed objects per second: 5.739
824s # Executing: glib/performance.test
825s complex-construction1: Millions of constructed objects per second: 10.168
829s # Executing: glib/performance.test
830s complex-construction2: Millions of constructed objects per second: 13.317
833s finalization: Millions of finalized objects per second: 3.677
833s type-check: Million type checks per second: 106.12
834s emit-unhandled: Emissions per second: 4365869
834s # Executing: glib/performance.test
836s emit-unhandled-empty: Emissions per second: 23037309
836s emit-unhandled-generic: Emissions per second: 5615008
838s emit-unhandled-generic-empty: Emissions per second: 22973024
839s emit-unhandled-args: Emissions per second: 3877875
839s # Executing: glib/performance.test
840s emit-handled: Emissions per second: 3102477
841s emit-handled-empty: Emissions per second: 3180340
842s emit-handled-generic: Emissions per second: 3148803
844s emit-handled-generic-empty: Emissions per second: 5042225
844s # Executing: glib/performance.test
845s emit-handled-args: Emissions per second: 2839955
846s notify-unhandled: Notify (unhandled) per second: 26000879
847s notify-by-pspec-unhandled: Notify (unhandled) per second: 102244475
848s notify-handled: Notify per second: 1920950
849s # Executing: glib/performance.test
850s notify-by-pspec-handled: Notify per second: 2031273
852s property-set: Property set per second: 13596713
852s property-set-signaled: Property set per second: 4000125
853s property-get: Property get per second: 14144988
854s # Executing: glib/performance.test
855s refcount: Million refs+unref per second: 26.16
856s refcount-1: Million refs+unref per second: 76.13
857s refcount-toggle: Million refs+unref per second: 59.00
857s ok - glib/performance.test
857s # Running test: glib/enums.test
857s TAP version 14
857s # random seed: R02S5c5bfa3a309e47851c066e56cc0b087a
857s 1..4
857s # Start of enum tests
857s ok 1 /enum/basic
857s ok 2 /enum/define-type
857s # End of enum tests
857s # Start of flags tests
857s ok 3 /flags/basic
857s ok 4 /flags/define-type
857s # End of flags tests
857s ok - glib/enums.test
857s # Running test: glib/regex.test
857s TAP version 14
857s # random seed: R02Sca66fa93ee84dcc015d59232c1f445ef
857s 1..849
857s # Start of regex tests
857s ok 1 /regex/properties
857s ok 2 /regex/class
857s ok 3 /regex/lookahead
857s ok 4 /regex/lookbehind
857s ok 5 /regex/subpattern
857s ok 6 /regex/condition
857s ok 7 /regex/recursion
857s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
857s ok 8 /regex/multiline
857s ok 9 /regex/explicit-crlf
857s ok 10 /regex/max-lookbehind
857s ok 11 /regex/compile-errors
857s ok 12 /regex/jit-unsupported-matching
857s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
857s ok 13 /regex/unmatched-named-subpattern
857s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
857s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
857s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
857s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
857s ok 14 /regex/compiled-regex-after-jit-failure
857s # Start of new tests
857s ok 15 /regex/new/1
857s ok 16 /regex/new/2
857s ok 17 /regex/new/3
857s ok 18 /regex/new/4
857s ok 19 /regex/new/5
857s ok 20 /regex/new/6
857s ok 21 /regex/new/7
857s ok 22 /regex/new/8
857s ok 23 /regex/new/9
857s ok 24 /regex/new/10
857s ok 25 /regex/new/11
857s ok 26 /regex/new/12
857s ok 27 /regex/new/13
857s ok 28 /regex/new/14
857s ok 29 /regex/new/15
857s ok 30 /regex/new/16
857s ok 31 /regex/new/17
857s ok 32 /regex/new/18
857s ok 33 /regex/new/19
857s ok 34 /regex/new/71
857s ok 35 /regex/new/81
857s ok 36 /regex/new/83
857s # End of new tests
857s # Start of new-check-flags tests
857s ok 37 /regex/new-check-flags/20
857s ok 38 /regex/new-check-flags/21
857s ok 39 /regex/new-check-flags/22
857s ok 40 /regex/new-check-flags/23
857s ok 41 /regex/new-check-flags/24
857s ok 42 /regex/new-check-flags/25
857s ok 43 /regex/new-check-flags/26
857s ok 44 /regex/new-check-flags/27
857s ok 45 /regex/new-check-flags/28
857s ok 46 /regex/new-check-flags/29
857s ok 47 /regex/new-check-flags/30
857s ok 48 /regex/new-check-flags/31
857s ok 49 /regex/new-check-flags/32
857s ok 50 /regex/new-check-flags/33
857s ok 51 /regex/new-check-flags/34
857s ok 52 /regex/new-check-flags/35
857s ok 53 /regex/new-check-flags/36
857s # End of new-check-flags tests
857s # Start of new-fail tests
857s # Compiling pattern /(/ failed with error: Error while compiling regular expression ‘(’ at char 1: missing terminating )
857s ok 54 /regex/new-fail/37
857s # Compiling pattern /)/ failed with error: Error while compiling regular expression ‘)’ at char 0: missing terminating )
857s ok 55 /regex/new-fail/38
857s # Compiling pattern /[/ failed with error: Error while compiling regular expression ‘[’ at char 1: missing terminating ] for character class
857s ok 56 /regex/new-fail/39
857s # Compiling pattern /*/ failed with error: Error while compiling regular expression ‘*’ at char 0: nothing to repeat
857s ok 57 /regex/new-fail/40
857s # Compiling pattern /?/ failed with error: Error while compiling regular expression ‘?’ at char 0: nothing to repeat
857s ok 58 /regex/new-fail/41
857s # Compiling pattern /(?Px)|(?Py)/ failed with error: Error while compiling regular expression ‘(?Px)|(?Py)’ at char 15: two named subpatterns have the same name
857s ok 59 /regex/new-fail/42
857s # Compiling pattern /a\/ failed with error: Error while compiling regular expression ‘a\’ at char 2: \ at end of pattern
857s ok 60 /regex/new-fail/43
857s # Compiling pattern /a\c/ failed with error: Error while compiling regular expression ‘a\c’ at char 3: \c at end of pattern
857s ok 61 /regex/new-fail/44
857s # Compiling pattern /a\l/ failed with error: Error while compiling regular expression ‘a\l’ at char 3: unrecognized character following \
857s ok 62 /regex/new-fail/45
857s # Compiling pattern /a{4,2}/ failed with error: Error while compiling regular expression ‘a{4,2}’ at char 5: numbers out of order in {} quantifier
857s ok 63 /regex/new-fail/46
857s # Compiling pattern /a{999999,}/ failed with error: Error while compiling regular expression ‘a{999999,}’ at char 8: number too big in {} quantifier
857s ok 64 /regex/new-fail/47
857s # Compiling pattern /[a-z/ failed with error: Error while compiling regular expression ‘[a-z’ at char 4: missing terminating ] for character class
857s ok 65 /regex/new-fail/48
857s # Compiling pattern /[\B]/ failed with error: Error while compiling regular expression ‘[\B]’ at char 2: invalid escape sequence in character class
857s ok 66 /regex/new-fail/49
857s # Compiling pattern /[z-a]/ failed with error: Error while compiling regular expression ‘[z-a]’ at char 3: range out of order in character class
857s ok 67 /regex/new-fail/50
857s # Compiling pattern /^[[:alnum:]-_.]+$/ failed with error: Error while compiling regular expression ‘^[[:alnum:]-_.]+$’ at char 12: invalid range in character class
857s ok 68 /regex/new-fail/51
857s # Compiling pattern /{2,4}/ failed with error: Error while compiling regular expression ‘{2,4}’ at char 4: nothing to repeat
857s ok 69 /regex/new-fail/52
857s # Compiling pattern /a(?u)/ failed with error: Error while compiling regular expression ‘a(?u)’ at char 3: unrecognized character after (? or (?-
857s ok 70 /regex/new-fail/53
857s # Compiling pattern /a(?<$foo)bar/ failed with error: Error while compiling regular expression ‘a(?<$foo)bar’ at char 4: missing subpattern name after (?&
857s ok 71 /regex/new-fail/54
857s # Compiling pattern /a[:alpha:]b/ failed with error: Error while compiling regular expression ‘a[:alpha:]b’ at char 1: POSIX named classes are supported only within a class
857s ok 72 /regex/new-fail/55
857s # Compiling pattern /a(b/ failed with error: Error while compiling regular expression ‘a(b’ at char 3: missing terminating )
857s ok 73 /regex/new-fail/56
857s # Compiling pattern /a)b/ failed with error: Error while compiling regular expression ‘a)b’ at char 1: missing terminating )
857s ok 74 /regex/new-fail/57
857s # Compiling pattern /a(?R/ failed with error: Error while compiling regular expression ‘a(?R’ at char 4: missing terminating )
857s ok 75 /regex/new-fail/58
857s # Compiling pattern /a(?-54/ failed with error: Error while compiling regular expression ‘a(?-54’ at char 6: reference to non-existent subpattern
857s ok 76 /regex/new-fail/59
857s # Compiling pattern /(ab\2)/ failed with error: Error while compiling regular expression ‘(ab\2)’ at char 4: reference to non-existent subpattern
857s ok 77 /regex/new-fail/60
857s # Compiling pattern /a(?#abc/ failed with error: Error while compiling regular expression ‘a(?#abc’ at char 7: missing ) after comment
857s ok 78 /regex/new-fail/61
857s # Compiling pattern /(?<=a+)b/ failed with error: Error while compiling regular expression ‘(?<=a+)b’ at char 0: lookbehind assertion is not fixed length
857s ok 79 /regex/new-fail/62
857s # Compiling pattern /(?(1?)a|b)/ failed with error: Error while compiling regular expression ‘(?(1?)a|b)’ at char 4: malformed number or name after (?(
857s ok 80 /regex/new-fail/63
857s # Compiling pattern /(a)(?(1)a|b|c)/ failed with error: Error while compiling regular expression ‘(a)(?(1)a|b|c)’ at char 3: conditional group contains more than two branches
857s ok 81 /regex/new-fail/64
857s # Compiling pattern /(?(?i))/ failed with error: Error while compiling regular expression ‘(?(?i))’ at char 2: assertion expected after (?(
857s ok 82 /regex/new-fail/65
857s # Compiling pattern /a[[:fubar:]]b/ failed with error: Error while compiling regular expression ‘a[[:fubar:]]b’ at char 11: unknown POSIX class name
857s ok 83 /regex/new-fail/66
857s # Compiling pattern /[[.ch.]]/ failed with error: Error while compiling regular expression ‘[[.ch.]]’ at char 7: POSIX collating elements are not supported
857s ok 84 /regex/new-fail/67
857s # Compiling pattern /\x{110000}/ failed with error: Error while compiling regular expression ‘\x{110000}’ at char 9: character value in \x{...} sequence is too large
857s ok 85 /regex/new-fail/68
857s # Compiling pattern /^(?(0)f|b)oo/ failed with error: Error while compiling regular expression ‘^(?(0)f|b)oo’ at char 5: reference to non-existent subpattern
857s ok 86 /regex/new-fail/69
857s # Compiling pattern /(?<=\C)X/ failed with error: Error while compiling regular expression ‘(?<=\C)X’ at char 0: \C not allowed in lookbehind assertion
857s ok 87 /regex/new-fail/70
857s # Compiling pattern /(?(?foo)\gfoo)\geks)(?Peccs)/ failed with error: Error while compiling regular expression ‘(?Peks)(?Peccs)’ at char 16: two named subpatterns have the same name
857s ok 90 /regex/new-fail/74
857s # Compiling pattern /\666/ failed with error: Error while compiling regular expression ‘\666’ at char 4: octal value is greater than \377
857s ok 91 /regex/new-fail/75
857s # Compiling pattern /^(?(DEFINE) abc | xyz ) / failed with error: Error while compiling regular expression ‘^(?(DEFINE) abc | xyz ) ’ at char 4: DEFINE group contains more than one branch
857s ok 92 /regex/new-fail/76
857s # Compiling pattern /a/ failed with error: Invalid newline flags
857s ok 93 /regex/new-fail/77
857s # Compiling pattern /^(a)\g"3/ failed with error: Error while compiling regular expression ‘^(a)\g"3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number
857s ok 94 /regex/new-fail/78
857s # Compiling pattern /^(a)\g{3/ failed with error: Error while compiling regular expression ‘^(a)\g{3’ at char 6: \g is not followed by a braced, angle-bracketed, or quoted name or number, or by a plain number
857s ok 95 /regex/new-fail/79
857s # Compiling pattern /^(a)\g{0}/ failed with error: Error while compiling regular expression ‘^(a)\g{0}’ at char 9: reference to non-existent subpattern
857s ok 96 /regex/new-fail/80
857s # Compiling pattern /a(*FOOBAR)b/ failed with error: Error while compiling regular expression ‘a(*FOOBAR)b’ at char 9: (*VERB) not recognized
857s ok 97 /regex/new-fail/82
857s # Compiling pattern /(?)(?&)/ failed with error: Error while compiling regular expression ‘(?)(?&)’ at char 9: missing subpattern name after (?&
857s ok 98 /regex/new-fail/84
857s # Compiling pattern /(?+-a)/ failed with error: Error while compiling regular expression ‘(?+-a)’ at char 2: a numbered reference must not be zero
857s ok 99 /regex/new-fail/85
857s # Compiling pattern /(?|(?A)|(?B))/ failed with error: Error while compiling regular expression ‘(?|(?A)|(?B))’ at char 16: different names for subpatterns of the same number are not allowed
857s ok 100 /regex/new-fail/86
857s # Compiling pattern /a(*MARK)b/ failed with error: Error while compiling regular expression ‘a(*MARK)b’ at char 7: (*MARK) must have an argument
857s ok 101 /regex/new-fail/87
857s # Compiling pattern /^\c€/ failed with error: Error while compiling regular expression ‘^\c€’ at char 3: \c must be followed by an ASCII character
857s ok 102 /regex/new-fail/88
857s # Compiling pattern /\k/ failed with error: Error while compiling regular expression ‘\k’ at char 2: \k is not followed by a braced, angle-bracketed, or quoted name
857s ok 103 /regex/new-fail/89
857s # Compiling pattern /a[\NB]c/ failed with error: Error while compiling regular expression ‘a[\NB]c’ at char 4: \N is not supported in a class
857s ok 104 /regex/new-fail/90
857s # Compiling pattern /(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX/ failed with error: Error while compiling regular expression ‘(*:0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEFG)XX’ at char 260: name is too long in (*MARK), (*PRUNE), (*SKIP), or (*THEN)
857s ok 105 /regex/new-fail/91
857s # Compiling pattern /(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")/ failed with error: Error while compiling regular expression ‘(?i-x)((?:(?i-x)[^\x00\t\n\f\r "'/<=>\x{007F}-\x{009F}\x{FDD0}-\x{FDEF}\x{FFFE}\x{FFFF}\x{1FFFE}\x{1FFFF}\x{2FFFE}\x{2FFFF}\x{3FFFE}\x{3FFFF}\x{4FFFE}\x{4FFFF}\x{5FFFE}\x{5FFFF}\x{6FFFE}\x{6FFFF}\x{7FFFE}\x{7FFFF}\x{8FFFE}\x{8FFFF}\x{9FFFE}\x{9FFFF}\x{AFFFE}\x{AFFFF}\x{BFFFE}\x{BFFFF}\x{CFFFE}\x{CFFFF}\x{DFFFE}\x{DFFFF}\x{EFFFE}\x{EFFFF}\x{FFFFE}\x{FFFFF}\x{10FFFE}\x{10FFFF}]+)\s*=\s*)(\")’ at char 61: character value in \x{...} sequence is too large
857s ok 106 /regex/new-fail/92
857s # End of new-fail tests
857s # Start of match-simple tests
857s ok 107 /regex/match-simple/93
857s ok 108 /regex/match-simple/94
857s ok 109 /regex/match-simple/95
857s ok 110 /regex/match-simple/96
857s ok 111 /regex/match-simple/97
857s ok 112 /regex/match-simple/98
857s ok 113 /regex/match-simple/99
857s ok 114 /regex/match-simple/100
857s ok 115 /regex/match-simple/101
857s ok 116 /regex/match-simple/102
857s ok 117 /regex/match-simple/103
857s ok 118 /regex/match-simple/104
857s ok 119 /regex/match-simple/105
857s ok 120 /regex/match-simple/106
857s ok 121 /regex/match-simple/107
857s ok 122 /regex/match-simple/108
857s ok 123 /regex/match-simple/109
857s ok 124 /regex/match-simple/110
857s ok 125 /regex/match-simple/111
857s ok 126 /regex/match-simple/112
857s ok 127 /regex/match-simple/113
857s ok 128 /regex/match-simple/114
857s ok 129 /regex/match-simple/115
857s ok 130 /regex/match-simple/116
857s ok 131 /regex/match-simple/117
857s ok 132 /regex/match-simple/118
857s ok 133 /regex/match-simple/119
857s ok 134 /regex/match-simple/120
857s ok 135 /regex/match-simple/121
857s ok 136 /regex/match-simple/122
857s ok 137 /regex/match-simple/123
857s ok 138 /regex/match-simple/124
857s ok 139 /regex/match-simple/125
857s ok 140 /regex/match-simple/126
857s ok 141 /regex/match-simple/127
857s ok 142 /regex/match-simple/128
857s ok 143 /regex/match-simple/129
857s ok 144 /regex/match-simple/130
857s ok 145 /regex/match-simple/131
857s ok 146 /regex/match-simple/132
857s ok 147 /regex/match-simple/133
857s ok 148 /regex/match-simple/134
857s ok 149 /regex/match-simple/135
857s ok 150 /regex/match-simple/136
857s ok 151 /regex/match-simple/137
857s ok 152 /regex/match-simple/138
857s ok 153 /regex/match-simple/139
857s ok 154 /regex/match-simple/140
857s ok 155 /regex/match-simple/141
857s ok 156 /regex/match-simple/142
857s ok 157 /regex/match-simple/143
857s ok 158 /regex/match-simple/144
857s ok 159 /regex/match-simple/145
857s ok 160 /regex/match-simple/146
857s ok 161 /regex/match-simple/147
857s ok 162 /regex/match-simple/148
857s ok 163 /regex/match-simple/149
857s ok 164 /regex/match-simple/150
857s ok 165 /regex/match-simple/151
857s ok 166 /regex/match-simple/152
857s ok 167 /regex/match-simple/153
857s ok 168 /regex/match-simple/154
857s ok 169 /regex/match-simple/155
857s ok 170 /regex/match-simple/156
857s ok 171 /regex/match-simple/157
857s ok 172 /regex/match-simple/158
857s ok 173 /regex/match-simple/159
857s ok 174 /regex/match-simple/160
857s ok 175 /regex/match-simple/161
857s ok 176 /regex/match-simple/162
857s ok 177 /regex/match-simple/163
857s ok 178 /regex/match-simple/164
857s ok 179 /regex/match-simple/165
857s # End of match-simple tests
857s # Start of match-simple-optimized tests
857s ok 180 /regex/match-simple-optimized/93
857s ok 181 /regex/match-simple-optimized/94
857s ok 182 /regex/match-simple-optimized/95
857s ok 183 /regex/match-simple-optimized/96
857s ok 184 /regex/match-simple-optimized/97
857s ok 185 /regex/match-simple-optimized/98
857s ok 186 /regex/match-simple-optimized/99
857s ok 187 /regex/match-simple-optimized/100
857s ok 188 /regex/match-simple-optimized/101
857s ok 189 /regex/match-simple-optimized/102
857s ok 190 /regex/match-simple-optimized/103
857s ok 191 /regex/match-simple-optimized/104
857s ok 192 /regex/match-simple-optimized/105
857s ok 193 /regex/match-simple-optimized/106
857s ok 194 /regex/match-simple-optimized/107
857s ok 195 /regex/match-simple-optimized/108
857s ok 196 /regex/match-simple-optimized/109
857s ok 197 /regex/match-simple-optimized/110
857s ok 198 /regex/match-simple-optimized/111
857s ok 199 /regex/match-simple-optimized/112
857s ok 200 /regex/match-simple-optimized/113
857s ok 201 /regex/match-simple-optimized/114
857s ok 202 /regex/match-simple-optimized/115
857s ok 203 /regex/match-simple-optimized/116
857s ok 204 /regex/match-simple-optimized/117
857s ok 205 /regex/match-simple-optimized/118
857s ok 206 /regex/match-simple-optimized/119
857s ok 207 /regex/match-simple-optimized/120
857s ok 208 /regex/match-simple-optimized/121
857s ok 209 /regex/match-simple-optimized/122
857s ok 210 /regex/match-simple-optimized/123
857s ok 211 /regex/match-simple-optimized/124
857s ok 212 /regex/match-simple-optimized/125
857s ok 213 /regex/match-simple-optimized/126
857s ok 214 /regex/match-simple-optimized/127
857s ok 215 /regex/match-simple-optimized/128
857s ok 216 /regex/match-simple-optimized/129
857s ok 217 /regex/match-simple-optimized/130
857s ok 218 /regex/match-simple-optimized/131
857s ok 219 /regex/match-simple-optimized/132
857s ok 220 /regex/match-simple-optimized/133
857s ok 221 /regex/match-simple-optimized/134
857s ok 222 /regex/match-simple-optimized/135
857s ok 223 /regex/match-simple-optimized/136
857s ok 224 /regex/match-simple-optimized/137
857s ok 225 /regex/match-simple-optimized/138
857s ok 226 /regex/match-simple-optimized/139
857s ok 227 /regex/match-simple-optimized/140
857s ok 228 /regex/match-simple-optimized/141
857s ok 229 /regex/match-simple-optimized/142
857s ok 230 /regex/match-simple-optimized/143
857s ok 231 /regex/match-simple-optimized/144
857s ok 232 /regex/match-simple-optimized/145
857s ok 233 /regex/match-simple-optimized/146
857s ok 234 /regex/match-simple-optimized/147
857s ok 235 /regex/match-simple-optimized/148
857s ok 236 /regex/match-simple-optimized/149
857s ok 237 /regex/match-simple-optimized/150
857s ok 238 /regex/match-simple-optimized/151
857s ok 239 /regex/match-simple-optimized/152
857s ok 240 /regex/match-simple-optimized/153
857s ok 241 /regex/match-simple-optimized/154
857s ok 242 /regex/match-simple-optimized/155
857s ok 243 /regex/match-simple-optimized/156
857s ok 244 /regex/match-simple-optimized/157
857s ok 245 /regex/match-simple-optimized/158
857s ok 246 /regex/match-simple-optimized/159
857s ok 247 /regex/match-simple-optimized/160
857s ok 248 /regex/match-simple-optimized/161
857s ok 249 /regex/match-simple-optimized/162
857s ok 250 /regex/match-simple-optimized/163
857s ok 251 /regex/match-simple-optimized/164
857s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
857s ok 252 /regex/match-simple-optimized/165
857s # End of match-simple-optimized tests
857s # Start of match tests
857s ok 253 /regex/match/166
857s ok 254 /regex/match/167
857s ok 255 /regex/match/168
857s ok 256 /regex/match/169
857s ok 257 /regex/match/170
857s ok 258 /regex/match/171
857s ok 259 /regex/match/172
857s ok 260 /regex/match/173
857s ok 261 /regex/match/174
857s ok 262 /regex/match/175
857s ok 263 /regex/match/176
857s ok 264 /regex/match/177
857s ok 265 /regex/match/178
857s ok 266 /regex/match/179
857s ok 267 /regex/match/180
857s ok 268 /regex/match/181
857s ok 269 /regex/match/182
857s ok 270 /regex/match/183
857s ok 271 /regex/match/184
857s ok 272 /regex/match/185
857s ok 273 /regex/match/186
857s ok 274 /regex/match/187
857s ok 275 /regex/match/188
857s ok 276 /regex/match/189
857s ok 277 /regex/match/190
857s ok 278 /regex/match/191
857s ok 279 /regex/match/192
857s ok 280 /regex/match/193
857s ok 281 /regex/match/194
857s ok 282 /regex/match/195
857s ok 283 /regex/match/196
857s ok 284 /regex/match/197
857s ok 285 /regex/match/198
857s ok 286 /regex/match/199
857s ok 287 /regex/match/200
857s ok 288 /regex/match/201
857s ok 289 /regex/match/202
857s ok 290 /regex/match/203
857s ok 291 /regex/match/204
857s ok 292 /regex/match/205
857s ok 293 /regex/match/206
857s ok 294 /regex/match/207
857s ok 295 /regex/match/208
857s ok 296 /regex/match/209
857s ok 297 /regex/match/210
857s ok 298 /regex/match/211
857s ok 299 /regex/match/212
857s ok 300 /regex/match/213
857s ok 301 /regex/match/214
857s ok 302 /regex/match/215
857s ok 303 /regex/match/216
857s ok 304 /regex/match/217
857s ok 305 /regex/match/218
857s ok 306 /regex/match/219
857s ok 307 /regex/match/220
857s ok 308 /regex/match/221
857s ok 309 /regex/match/222
857s ok 310 /regex/match/223
857s ok 311 /regex/match/224
857s ok 312 /regex/match/225
857s ok 313 /regex/match/226
857s ok 314 /regex/match/227
857s ok 315 /regex/match/228
857s ok 316 /regex/match/229
857s ok 317 /regex/match/230
857s ok 318 /regex/match/231
857s ok 319 /regex/match/232
857s ok 320 /regex/match/233
857s ok 321 /regex/match/234
857s ok 322 /regex/match/235
857s ok 323 /regex/match/236
857s ok 324 /regex/match/237
857s ok 325 /regex/match/238
857s ok 326 /regex/match/239
857s ok 327 /regex/match/240
857s ok 328 /regex/match/241
857s ok 329 /regex/match/242
857s ok 330 /regex/match/243
857s ok 331 /regex/match/244
857s ok 332 /regex/match/245
857s ok 333 /regex/match/246
857s ok 334 /regex/match/247
857s ok 335 /regex/match/partial282
857s ok 336 /regex/match/partial283
857s ok 337 /regex/match/partial284
857s ok 338 /regex/match/partial285
857s ok 339 /regex/match/partial286
857s ok 340 /regex/match/partial287
857s ok 341 /regex/match/partial288
857s ok 342 /regex/match/partial289
857s ok 343 /regex/match/partial290
857s ok 344 /regex/match/partial291
857s ok 345 /regex/match/partial292
857s ok 346 /regex/match/partial293
857s ok 347 /regex/match/partial294
857s ok 348 /regex/match/partial295
857s ok 349 /regex/match/partial296
857s ok 350 /regex/match/partial297
857s ok 351 /regex/match/partial298
857s ok 352 /regex/match/partial299
857s ok 353 /regex/match/partial300
857s ok 354 /regex/match/partial301
857s ok 355 /regex/match/partial302
857s ok 356 /regex/match/partial303
857s # Start of next0 tests
857s ok 357 /regex/match/next0/248
857s ok 358 /regex/match/next0/249
857s ok 359 /regex/match/next0/250
857s ok 360 /regex/match/next0/251
857s # End of next0 tests
857s # Start of next1 tests
857s ok 361 /regex/match/next1/252
857s ok 362 /regex/match/next1/253
857s ok 363 /regex/match/next1/254
857s ok 364 /regex/match/next1/255
857s ok 365 /regex/match/next1/256
857s # End of next1 tests
857s # Start of next2 tests
857s ok 366 /regex/match/next2/257
857s ok 367 /regex/match/next2/258
857s ok 368 /regex/match/next2/259
857s ok 369 /regex/match/next2/260
857s ok 370 /regex/match/next2/261
857s ok 371 /regex/match/next2/262
857s ok 372 /regex/match/next2/263
857s ok 373 /regex/match/next2/264
857s # End of next2 tests
857s # Start of next3 tests
857s ok 374 /regex/match/next3/265
857s ok 375 /regex/match/next3/266
857s ok 376 /regex/match/next3/267
857s ok 377 /regex/match/next3/268
857s ok 378 /regex/match/next3/269
857s ok 379 /regex/match/next3/270
857s # End of next3 tests
857s # Start of next4 tests
857s ok 380 /regex/match/next4/271
857s # End of next4 tests
857s # Start of count tests
857s ok 381 /regex/match/count/272
857s ok 382 /regex/match/count/273
857s ok 383 /regex/match/count/274
857s ok 384 /regex/match/count/275
857s ok 385 /regex/match/count/276
857s ok 386 /regex/match/count/277
857s ok 387 /regex/match/count/278
857s ok 388 /regex/match/count/279
857s ok 389 /regex/match/count/280
857s ok 390 /regex/match/count/281
857s # End of count tests
857s # Start of count-optimized tests
857s ok 391 /regex/match/count-optimized/272
857s ok 392 /regex/match/count-optimized/273
857s ok 393 /regex/match/count-optimized/274
857s ok 394 /regex/match/count-optimized/275
857s ok 395 /regex/match/count-optimized/276
857s ok 396 /regex/match/count-optimized/277
857s ok 397 /regex/match/count-optimized/278
857s ok 398 /regex/match/count-optimized/279
857s ok 399 /regex/match/count-optimized/280
857s ok 400 /regex/match/count-optimized/281
857s # End of count-optimized tests
857s # Start of partial-optimized tests
857s ok 401 /regex/match/partial-optimized/282
857s ok 402 /regex/match/partial-optimized/283
857s ok 403 /regex/match/partial-optimized/284
857s ok 404 /regex/match/partial-optimized/285
857s ok 405 /regex/match/partial-optimized/286
857s ok 406 /regex/match/partial-optimized/287
857s ok 407 /regex/match/partial-optimized/288
857s ok 408 /regex/match/partial-optimized/289
857s ok 409 /regex/match/partial-optimized/290
857s ok 410 /regex/match/partial-optimized/291
857s ok 411 /regex/match/partial-optimized/292
857s ok 412 /regex/match/partial-optimized/293
857s ok 413 /regex/match/partial-optimized/294
857s ok 414 /regex/match/partial-optimized/295
857s ok 415 /regex/match/partial-optimized/296
857s ok 416 /regex/match/partial-optimized/297
857s ok 417 /regex/match/partial-optimized/298
857s ok 418 /regex/match/partial-optimized/299
857s ok 419 /regex/match/partial-optimized/300
857s ok 420 /regex/match/partial-optimized/301
857s ok 421 /regex/match/partial-optimized/302
857s ok 422 /regex/match/partial-optimized/303
857s # End of partial-optimized tests
857s # Start of subpattern tests
857s ok 423 /regex/match/subpattern/304
857s ok 424 /regex/match/subpattern/305
857s ok 425 /regex/match/subpattern/306
857s ok 426 /regex/match/subpattern/307
857s ok 427 /regex/match/subpattern/308
857s ok 428 /regex/match/subpattern/309
857s ok 429 /regex/match/subpattern/310
857s ok 430 /regex/match/subpattern/311
857s ok 431 /regex/match/subpattern/312
857s ok 432 /regex/match/subpattern/313
857s ok 433 /regex/match/subpattern/314
857s ok 434 /regex/match/subpattern/315
857s ok 435 /regex/match/subpattern/316
857s # Start of named tests
857s # Start of dupnames tests
857s ok 436 /regex/match/subpattern/named/dupnames/326
857s ok 437 /regex/match/subpattern/named/dupnames/327
857s ok 438 /regex/match/subpattern/named/dupnames/328
857s ok 439 /regex/match/subpattern/named/dupnames/329
857s ok 440 /regex/match/subpattern/named/dupnames/330
857s # End of dupnames tests
857s # End of named tests
857s # End of subpattern tests
857s # Start of subpattern-optimized tests
857s ok 441 /regex/match/subpattern-optimized/304
857s ok 442 /regex/match/subpattern-optimized/305
857s ok 443 /regex/match/subpattern-optimized/306
857s ok 444 /regex/match/subpattern-optimized/307
857s ok 445 /regex/match/subpattern-optimized/308
857s ok 446 /regex/match/subpattern-optimized/309
857s ok 447 /regex/match/subpattern-optimized/310
857s ok 448 /regex/match/subpattern-optimized/311
857s ok 449 /regex/match/subpattern-optimized/312
857s ok 450 /regex/match/subpattern-optimized/313
857s ok 451 /regex/match/subpattern-optimized/314
857s ok 452 /regex/match/subpattern-optimized/315
857s ok 453 /regex/match/subpattern-optimized/316
857s # End of subpattern-optimized tests
857s # Start of named tests
857s # Start of subpattern tests
857s ok 454 /regex/match/named/subpattern/317
857s ok 455 /regex/match/named/subpattern/318
857s ok 456 /regex/match/named/subpattern/319
857s ok 457 /regex/match/named/subpattern/320
857s ok 458 /regex/match/named/subpattern/321
857s ok 459 /regex/match/named/subpattern/322
857s ok 460 /regex/match/named/subpattern/323
857s ok 461 /regex/match/named/subpattern/324
857s ok 462 /regex/match/named/subpattern/325
857s ok 463 /regex/match/named/subpattern/331
857s ok 464 /regex/match/named/subpattern/332
857s ok 465 /regex/match/named/subpattern/333
857s ok 466 /regex/match/named/subpattern/334
857s ok 467 /regex/match/named/subpattern/335
857s # End of subpattern tests
857s # End of named tests
857s # End of match tests
857s # Start of match-optimized tests
857s ok 468 /regex/match-optimized/166
857s ok 469 /regex/match-optimized/167
857s ok 470 /regex/match-optimized/168
857s ok 471 /regex/match-optimized/169
857s ok 472 /regex/match-optimized/170
857s ok 473 /regex/match-optimized/171
857s ok 474 /regex/match-optimized/172
857s ok 475 /regex/match-optimized/173
857s ok 476 /regex/match-optimized/174
857s ok 477 /regex/match-optimized/175
857s ok 478 /regex/match-optimized/176
857s ok 479 /regex/match-optimized/177
857s ok 480 /regex/match-optimized/178
857s ok 481 /regex/match-optimized/179
857s ok 482 /regex/match-optimized/180
857s ok 483 /regex/match-optimized/181
857s ok 484 /regex/match-optimized/182
857s ok 485 /regex/match-optimized/183
857s ok 486 /regex/match-optimized/184
857s ok 487 /regex/match-optimized/185
857s ok 488 /regex/match-optimized/186
857s ok 489 /regex/match-optimized/187
857s ok 490 /regex/match-optimized/188
857s ok 491 /regex/match-optimized/189
857s ok 492 /regex/match-optimized/190
857s ok 493 /regex/match-optimized/191
857s ok 494 /regex/match-optimized/192
857s ok 495 /regex/match-optimized/193
857s ok 496 /regex/match-optimized/194
857s ok 497 /regex/match-optimized/195
857s ok 498 /regex/match-optimized/196
857s ok 499 /regex/match-optimized/197
857s ok 500 /regex/match-optimized/198
857s ok 501 /regex/match-optimized/199
857s ok 502 /regex/match-optimized/200
857s ok 503 /regex/match-optimized/201
857s ok 504 /regex/match-optimized/202
857s ok 505 /regex/match-optimized/203
857s ok 506 /regex/match-optimized/204
857s ok 507 /regex/match-optimized/205
857s ok 508 /regex/match-optimized/206
857s ok 509 /regex/match-optimized/207
857s ok 510 /regex/match-optimized/208
857s ok 511 /regex/match-optimized/209
857s ok 512 /regex/match-optimized/210
857s ok 513 /regex/match-optimized/211
857s ok 514 /regex/match-optimized/212
857s ok 515 /regex/match-optimized/213
857s ok 516 /regex/match-optimized/214
857s ok 517 /regex/match-optimized/215
857s ok 518 /regex/match-optimized/216
857s ok 519 /regex/match-optimized/217
857s ok 520 /regex/match-optimized/218
857s ok 521 /regex/match-optimized/219
857s ok 522 /regex/match-optimized/220
857s ok 523 /regex/match-optimized/221
857s ok 524 /regex/match-optimized/222
857s ok 525 /regex/match-optimized/223
857s ok 526 /regex/match-optimized/224
857s ok 527 /regex/match-optimized/225
857s ok 528 /regex/match-optimized/226
857s ok 529 /regex/match-optimized/227
857s ok 530 /regex/match-optimized/228
857s ok 531 /regex/match-optimized/229
857s ok 532 /regex/match-optimized/230
857s ok 533 /regex/match-optimized/231
857s ok 534 /regex/match-optimized/232
857s ok 535 /regex/match-optimized/233
857s ok 536 /regex/match-optimized/234
857s ok 537 /regex/match-optimized/235
857s ok 538 /regex/match-optimized/236
857s ok 539 /regex/match-optimized/237
857s ok 540 /regex/match-optimized/238
857s ok 541 /regex/match-optimized/239
857s ok 542 /regex/match-optimized/240
857s ok 543 /regex/match-optimized/241
857s ok 544 /regex/match-optimized/242
857s ok 545 /regex/match-optimized/243
857s ok 546 /regex/match-optimized/244
857s ok 547 /regex/match-optimized/245
857s ok 548 /regex/match-optimized/246
857s ok 549 /regex/match-optimized/247
857s # End of match-optimized tests
857s # Start of fetch-all0 tests
857s ok 550 /regex/fetch-all0/336
857s ok 551 /regex/fetch-all0/337
857s # End of fetch-all0 tests
857s # Start of fetch-all1 tests
857s ok 552 /regex/fetch-all1/338
857s ok 553 /regex/fetch-all1/339
857s ok 554 /regex/fetch-all1/340
857s # End of fetch-all1 tests
857s # Start of fetch-all2 tests
857s ok 555 /regex/fetch-all2/341
857s ok 556 /regex/fetch-all2/342
857s ok 557 /regex/fetch-all2/343
857s # End of fetch-all2 tests
857s # Start of fetch-all3 tests
857s ok 558 /regex/fetch-all3/344
857s ok 559 /regex/fetch-all3/345
857s ok 560 /regex/fetch-all3/346
857s ok 561 /regex/fetch-all3/347
857s ok 562 /regex/fetch-all3/348
857s # End of fetch-all3 tests
857s # Start of split tests
857s # Start of simple0 tests
857s ok 563 /regex/split/simple0/349
857s ok 564 /regex/split/simple0/350
857s ok 565 /regex/split/simple0/365
857s ok 566 /regex/split/simple0/366
857s # End of simple0 tests
857s # Start of simple1 tests
857s ok 567 /regex/split/simple1/351
857s ok 568 /regex/split/simple1/352
857s # End of simple1 tests
857s # Start of simple2 tests
857s ok 569 /regex/split/simple2/353
857s ok 570 /regex/split/simple2/359
857s ok 571 /regex/split/simple2/361
857s # End of simple2 tests
857s # Start of simple3 tests
857s ok 572 /regex/split/simple3/354
857s ok 573 /regex/split/simple3/355
857s ok 574 /regex/split/simple3/356
857s ok 575 /regex/split/simple3/357
857s ok 576 /regex/split/simple3/358
857s ok 577 /regex/split/simple3/360
857s ok 578 /regex/split/simple3/362
857s ok 579 /regex/split/simple3/363
857s ok 580 /regex/split/simple3/364
857s # End of simple3 tests
857s # End of split tests
857s # Start of split0 tests
857s ok 581 /regex/split0/367
857s ok 582 /regex/split0/369
857s # End of split0 tests
857s # Start of full-split0 tests
857s ok 583 /regex/full-split0/368
857s ok 584 /regex/full-split0/370
857s ok 585 /regex/full-split0/371
857s ok 586 /regex/full-split0/372
857s ok 587 /regex/full-split0/373
857s # End of full-split0 tests
857s # Start of split1 tests
857s ok 588 /regex/split1/374
857s ok 589 /regex/split1/377
857s # End of split1 tests
857s # Start of full-split1 tests
857s ok 590 /regex/full-split1/375
857s ok 591 /regex/full-split1/376
857s ok 592 /regex/full-split1/378
857s ok 593 /regex/full-split1/379
857s ok 594 /regex/full-split1/405
857s # End of full-split1 tests
857s # Start of split2 tests
857s ok 595 /regex/split2/380
857s ok 596 /regex/split2/384
857s ok 597 /regex/split2/396
857s # End of split2 tests
857s # Start of full-split2 tests
857s ok 598 /regex/full-split2/381
857s ok 599 /regex/full-split2/382
857s ok 600 /regex/full-split2/383
857s ok 601 /regex/full-split2/385
857s ok 602 /regex/full-split2/397
857s ok 603 /regex/full-split2/400
857s ok 604 /regex/full-split2/406
857s # End of full-split2 tests
857s # Start of split3 tests
857s ok 605 /regex/split3/386
857s ok 606 /regex/split3/388
857s ok 607 /regex/split3/390
857s ok 608 /regex/split3/392
857s ok 609 /regex/split3/394
857s ok 610 /regex/split3/398
857s ok 611 /regex/split3/401
857s ok 612 /regex/split3/403
857s # End of split3 tests
857s # Start of full-split3 tests
857s ok 613 /regex/full-split3/387
857s ok 614 /regex/full-split3/389
857s ok 615 /regex/full-split3/391
857s ok 616 /regex/full-split3/393
857s ok 617 /regex/full-split3/395
857s ok 618 /regex/full-split3/399
857s ok 619 /regex/full-split3/402
857s ok 620 /regex/full-split3/404
857s ok 621 /regex/full-split3/407
857s ok 622 /regex/full-split3/408
857s # End of full-split3 tests
857s # Start of check-repacement tests
857s ok 623 /regex/check-repacement/409
857s ok 624 /regex/check-repacement/410
857s ok 625 /regex/check-repacement/411
857s ok 626 /regex/check-repacement/412
857s ok 627 /regex/check-repacement/413
857s ok 628 /regex/check-repacement/414
857s ok 629 /regex/check-repacement/415
857s ok 630 /regex/check-repacement/416
857s # End of check-repacement tests
857s # Start of expand tests
857s ok 631 /regex/expand/417
857s ok 632 /regex/expand/418
857s ok 633 /regex/expand/419
857s ok 634 /regex/expand/420
857s ok 635 /regex/expand/421
857s ok 636 /regex/expand/422
857s ok 637 /regex/expand/423
857s ok 638 /regex/expand/424
857s ok 639 /regex/expand/425
857s ok 640 /regex/expand/426
857s ok 641 /regex/expand/427
857s ok 642 /regex/expand/428
857s ok 643 /regex/expand/429
857s ok 644 /regex/expand/430
857s ok 645 /regex/expand/431
857s ok 646 /regex/expand/432
857s ok 647 /regex/expand/433
857s ok 648 /regex/expand/434
857s ok 649 /regex/expand/435
857s ok 650 /regex/expand/436
857s ok 651 /regex/expand/437
857s ok 652 /regex/expand/438
857s ok 653 /regex/expand/439
857s ok 654 /regex/expand/440
857s ok 655 /regex/expand/441
857s ok 656 /regex/expand/442
857s ok 657 /regex/expand/443
857s ok 658 /regex/expand/444
857s ok 659 /regex/expand/445
857s ok 660 /regex/expand/446
857s ok 661 /regex/expand/447
857s ok 662 /regex/expand/448
857s ok 663 /regex/expand/449
857s ok 664 /regex/expand/450
857s ok - glib/regex.test
857s # Running test: glib/genmarshal.py.test
857s ok 665 /regex/expand/451
857s ok 666 /regex/expand/452
857s ok 667 /regex/expand/453
857s ok 668 /regex/expand/454
857s ok 669 /regex/expand/455
857s ok 670 /regex/expand/456
857s ok 671 /regex/expand/457
857s ok 672 /regex/expand/458
857s ok 673 /regex/expand/459
857s ok 674 /regex/expand/460
857s ok 675 /regex/expand/461
857s ok 676 /regex/expand/462
857s ok 677 /regex/expand/463
857s ok 678 /regex/expand/464
857s ok 679 /regex/expand/465
857s ok 680 /regex/expand/466
857s ok 681 /regex/expand/467
857s ok 682 /regex/expand/468
857s ok 683 /regex/expand/469
857s ok 684 /regex/expand/470
857s ok 685 /regex/expand/471
857s ok 686 /regex/expand/472
857s ok 687 /regex/expand/473
857s ok 688 /regex/expand/474
857s ok 689 /regex/expand/475
857s ok 690 /regex/expand/476
857s ok 691 /regex/expand/477
857s ok 692 /regex/expand/478
857s ok 693 /regex/expand/479
857s ok 694 /regex/expand/480
857s ok 695 /regex/expand/481
857s ok 696 /regex/expand/482
857s # End of expand tests
857s # Start of replace tests
857s ok 697 /regex/replace/483
857s ok 698 /regex/replace/484
857s ok 699 /regex/replace/485
857s ok 700 /regex/replace/486
857s ok 701 /regex/replace/487
857s ok 702 /regex/replace/488
857s ok 703 /regex/replace/489
857s ok 704 /regex/replace/490
857s ok 705 /regex/replace/491
857s ok 706 /regex/replace/492
857s ok 707 /regex/replace/493
857s ok 708 /regex/replace/494
857s ok 709 /regex/replace/495
857s ok 710 /regex/replace/496
857s ok 711 /regex/replace/497
857s ok 712 /regex/replace/498
857s ok 713 /regex/replace/499
857s ok 714 /regex/replace/500
857s ok 715 /regex/replace/501
857s ok 716 /regex/replace/502
857s ok 717 /regex/replace/503
857s ok 718 /regex/replace/504
857s ok 719 /regex/replace/505
857s ok 720 /regex/replace/506
857s ok 721 /regex/replace/507
857s ok 722 /regex/replace/508
857s ok 723 /regex/replace/509
857s ok 724 /regex/replace/510
857s # End of replace tests
857s # Start of replace-optimized tests
857s ok 725 /regex/replace-optimized/483
857s ok 726 /regex/replace-optimized/484
857s ok 727 /regex/replace-optimized/485
857s ok 728 /regex/replace-optimized/486
857s ok 729 /regex/replace-optimized/487
857s ok 730 /regex/replace-optimized/488
857s ok 731 /regex/replace-optimized/489
857s ok 732 /regex/replace-optimized/490
857s ok 733 /regex/replace-optimized/491
857s ok 734 /regex/replace-optimized/492
857s ok 735 /regex/replace-optimized/493
857s ok 736 /regex/replace-optimized/494
857s ok 737 /regex/replace-optimized/495
857s ok 738 /regex/replace-optimized/496
857s ok 739 /regex/replace-optimized/497
857s ok 740 /regex/replace-optimized/498
857s ok 741 /regex/replace-optimized/499
857s ok 742 /regex/replace-optimized/500
857s ok 743 /regex/replace-optimized/501
857s ok 744 /regex/replace-optimized/502
857s ok 745 /regex/replace-optimized/503
857s ok 746 /regex/replace-optimized/504
857s ok 747 /regex/replace-optimized/505
857s ok 748 /regex/replace-optimized/506
857s ok 749 /regex/replace-optimized/507
857s ok 750 /regex/replace-optimized/508
857s ok 751 /regex/replace-optimized/509
857s ok 752 /regex/replace-optimized/510
857s # End of replace-optimized tests
857s # Start of replace-literally tests
857s ok 753 /regex/replace-literally/511
857s ok 754 /regex/replace-literally/512
857s ok 755 /regex/replace-literally/513
857s ok 756 /regex/replace-literally/514
857s ok 757 /regex/replace-literally/515
857s ok 758 /regex/replace-literally/516
857s ok 759 /regex/replace-literally/517
857s ok 760 /regex/replace-literally/518
857s ok 761 /regex/replace-literally/519
857s ok 762 /regex/replace-literally/520
857s ok 763 /regex/replace-literally/521
857s ok 764 /regex/replace-literally/522
857s ok 765 /regex/replace-literally/523
857s ok 766 /regex/replace-literally/524
857s ok 767 /regex/replace-literally/525
857s ok 768 /regex/replace-literally/526
857s ok 769 /regex/replace-literally/527
857s ok 770 /regex/replace-literally/528
857s ok 771 /regex/replace-literally/529
857s ok 772 /regex/replace-literally/530
857s # End of replace-literally tests
857s # Start of string-number tests
857s ok 773 /regex/string-number/531
857s ok 774 /regex/string-number/532
857s ok 775 /regex/string-number/533
857s ok 776 /regex/string-number/534
857s ok 777 /regex/string-number/535
857s ok 778 /regex/string-number/536
857s ok 779 /regex/string-number/537
857s ok 780 /regex/string-number/538
857s ok 781 /regex/string-number/539
857s ok 782 /regex/string-number/540
857s ok 783 /regex/string-number/541
857s ok 784 /regex/string-number/542
857s ok 785 /regex/string-number/543
857s ok 786 /regex/string-number/544
857s ok 787 /regex/string-number/545
857s # End of string-number tests
857s # Start of escape_nul tests
857s ok 788 /regex/escape_nul/546
857s ok 789 /regex/escape_nul/547
857s ok 790 /regex/escape_nul/548
857s ok 791 /regex/escape_nul/549
857s ok 792 /regex/escape_nul/550
857s ok 793 /regex/escape_nul/551
857s ok 794 /regex/escape_nul/552
857s ok 795 /regex/escape_nul/553
857s ok 796 /regex/escape_nul/554
857s ok 797 /regex/escape_nul/555
857s ok 798 /regex/escape_nul/556
857s ok 799 /regex/escape_nul/557
857s ok 800 /regex/escape_nul/558
857s ok 801 /regex/escape_nul/559
857s ok 802 /regex/escape_nul/560
857s # End of escape_nul tests
857s # Start of escape tests
857s ok 803 /regex/escape/561
857s ok 804 /regex/escape/562
857s ok 805 /regex/escape/563
857s ok 806 /regex/escape/564
857s ok 807 /regex/escape/565
857s ok 808 /regex/escape/566
857s ok 809 /regex/escape/567
857s ok 810 /regex/escape/568
857s ok 811 /regex/escape/569
857s ok 812 /regex/escape/570
857s ok 813 /regex/escape/571
857s ok 814 /regex/escape/572
857s ok 815 /regex/escape/573
857s ok 816 /regex/escape/574
857s ok 817 /regex/escape/575
857s ok 818 /regex/escape/576
857s ok 819 /regex/escape/577
857s ok 820 /regex/escape/578
857s # End of escape tests
857s # Start of match-all0 tests
857s ok 821 /regex/match-all0/579
857s ok 822 /regex/match-all0/581
857s # End of match-all0 tests
857s # Start of match-all-full0 tests
857s ok 823 /regex/match-all-full0/580
857s ok 824 /regex/match-all-full0/582
857s ok 825 /regex/match-all-full0/583
857s ok 826 /regex/match-all-full0/584
857s # End of match-all-full0 tests
857s # Start of match-all1 tests
857s ok 827 /regex/match-all1/585
857s ok 828 /regex/match-all1/587
857s ok 829 /regex/match-all1/592
857s # End of match-all1 tests
857s # Start of match-all-full1 tests
857s ok 830 /regex/match-all-full1/586
857s ok 831 /regex/match-all-full1/588
857s ok 832 /regex/match-all-full1/589
857s ok 833 /regex/match-all-full1/590
857s ok 834 /regex/match-all-full1/591
857s ok 835 /regex/match-all-full1/593
857s # End of match-all-full1 tests
857s # Start of match-all2 tests
857s ok 836 /regex/match-all2/594
857s ok 837 /regex/match-all2/596
857s ok 838 /regex/match-all2/598
857s # End of match-all2 tests
857s # Start of match-all-full2 tests
857s ok 839 /regex/match-all-full2/595
857s ok 840 /regex/match-all-full2/597
857s ok 841 /regex/match-all-full2/599
857s # End of match-all-full2 tests
857s # Start of match-all3 tests
857s ok 842 /regex/match-all3/600
857s ok 843 /regex/match-all3/602
857s # End of match-all3 tests
857s # Start of match-all-full3 tests
857s ok 844 /regex/match-all-full3/601
857s ok 845 /regex/match-all-full3/603
857s # End of match-all-full3 tests
857s # Start of match-notempty tests
857s ok 846 /regex/match-notempty/604
857s # End of match-notempty tests
857s # Start of match-notempty-optimized tests
857s ok 847 /regex/match-notempty-optimized/604
857s # End of match-notempty-optimized tests
857s # Start of match-notempty-atstart tests
857s ok 848 /regex/match-notempty-atstart/605
857s # End of match-notempty-atstart tests
857s # Start of match-notempty-atstart-optimized tests
857s ok 849 /regex/match-notempty-atstart-optimized/605
857s # End of match-notempty-atstart-optimized tests
857s # End of regex tests
857s TAP version 13
857s ok 1 __main__.TestGenmarshal.test_empty_list
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpzw76i8e6
857s # /tmp/tmpzw76i8e6/tmph2hrj1ns.list:
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzw76i8e6/tmph2hrj1ns.list', '--header', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s #
857s # #include
857s #
857s # G_BEGIN_DECLS
857s #
857s #
857s # G_END_DECLS
857s #
857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
857s # Error:
857s #
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzw76i8e6/tmph2hrj1ns.list', '--body', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #include
857s #
857s # #ifdef G_ENABLE_DEBUG
857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
857s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
857s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
857s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
857s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
857s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
857s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
857s # #else /* !G_ENABLE_DEBUG */
857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
857s # * Do not access GValues directly in your code. Instead, use the
857s # * g_value_get_*() functions
857s # */
857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
857s # #endif /* !G_ENABLE_DEBUG */
857s # Error:
857s ok 2 __main__.TestGenmarshal.test_help
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpj3d06lpa
857s # Running: ['/usr/bin/glib-genmarshal', '--help']
857s # Return code: 0
857s # Output:
857s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
857s # [--internal] [--valist-marshallers] [-v]
857s # [--g-fatal-warnings] [--include-header [HEADER]]
857s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
857s # [--prototypes] [--header] [--body] [--stdinc |
857s # --nostdinc] [--quiet | --verbose]
857s # [FILE ...]
857s #
857s # Generate signal marshallers for GObject
857s #
857s # positional arguments:
857s # FILE Files with lists of marshallers to generate, or "-"
857s # for standard input
857s #
857s # options:
857s # -h, --help show this help message and exit
857s # --prefix STRING Specify marshaller prefix
857s # --output FILE Write output into the specified file
857s # --skip-source Skip source location comments
857s # --internal Mark generated functions as internal
857s # --valist-marshallers Generate va_list marshallers
857s # -v, --version Print version information, and exit
857s # --g-fatal-warnings Make warnings fatal
857s # --include-header [HEADER]
857s # Include the specified header in the body
857s # --pragma-once Use "pragma once" as the inclusion guard
857s # -D CPP_DEFINES Pre-processor define
857s # -U CPP_UNDEFINES Pre-processor undefine
857s # --prototypes Generate the marshallers prototype in the C code
857s # --header Generate C headers
857s # --body Generate C code
857s # --stdinc Include standard marshallers
857s # --nostdinc Use standard marshallers
857s # --quiet Only print warnings and errors
857s # --verbose Be verbose, and include debugging information
857s # Error:
857s ok 3 __main__.TestGenmarshal.test_no_args
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpiqfgt7pm
857s # Running: ['/usr/bin/glib-genmarshal']
857s # Return code: 0
857s # Output:
857s #
857s # Error:
857s ok 4 __main__.TestGenmarshal.test_void_boolean
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpq6jw374q
857s # /tmp/tmpq6jw374q/tmp2js9p26e.list: VOID:BOOLEAN
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq6jw374q/tmp2js9p26e.list', '--header', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s #
857s # #include
857s #
857s # G_BEGIN_DECLS
857s #
857s # /* VOID:BOOLEAN (/tmp/tmpq6jw374q/tmp2js9p26e.list:1) */
857s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
857s #
857s #
857s # G_END_DECLS
857s #
857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
857s # Error:
857s #
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpq6jw374q/tmp2js9p26e.list', '--body', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #include
857s #
857s # #ifdef G_ENABLE_DEBUG
857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
857s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
857s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
857s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
857s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
857s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
857s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
857s # #else /* !G_ENABLE_DEBUG */
857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
857s # * Do not access GValues directly in your code. Instead, use the
857s # * g_value_get_*() functions
857s # */
857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
857s # #endif /* !G_ENABLE_DEBUG */
857s # Error:
857s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmprte3wijs
857s # /tmp/tmprte3wijs/tmp6xz3wrag.list: VOID:BOOLEAN,INT64
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprte3wijs/tmp6xz3wrag.list', '--header', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s #
857s # #include
857s #
857s # G_BEGIN_DECLS
857s #
857s # /* VOID:BOOLEAN,INT64 (/tmp/tmprte3wijs/tmp6xz3wrag.list:1) */
857s # extern
857s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
857s # GValue *return_value,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint,
857s # gpointer marshal_data);
857s #
857s #
857s # G_END_DECLS
857s #
857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
857s # Error:
857s #
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmprte3wijs/tmp6xz3wrag.list', '--body', '--quiet']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #include
857s #
857s # #ifdef G_ENABLE_DEBUG
857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
857s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
857s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
857s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
857s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
857s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
857s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
857s # #else /* !G_ENABLE_DEBUG */
857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
857s # * Do not access GValues directly in your code. Instead, use the
857s # * g_value_get_*() functions
857s # */
857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
857s # #endif /* !G_ENABLE_DEBUG */
857s #
857s # /* VOID:BOOLEAN,INT64 (/tmp/tmprte3wijs/tmp6xz3wrag.list:1) */
857s # void
857s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
857s # GValue *return_value G_GNUC_UNUSED,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint G_GNUC_UNUSED,
857s # gpointer marshal_data)
857s # {
857s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
857s # gboolean arg1,
857s # gint64 arg2,
857s # gpointer data2);
857s # GCClosure *cc = (GCClosure *) closure;
857s # gpointer data1, data2;
857s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
857s #
857s # g_return_if_fail (n_param_values == 3);
857s #
857s # if (G_CCLOSURE_SWAP_DATA (closure))
857s # {
857s # data1 = closure->data;
857s # data2 = g_value_peek_pointer (param_values + 0);
857s # }
857s # else
857s # {
857s # data1 = g_value_peek_pointer (param_values + 0);
857s # data2 = closure->data;
857s # }
857s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
857s #
857s # callback (data1,
857s # g_marshal_value_peek_boolean (param_values + 1),
857s # g_marshal_value_peek_int64 (param_values + 2),
857s # data2);
857s # }
857s # Error:
857s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpznd7ou8y
857s # /tmp/tmpznd7ou8y/tmpz0zkvsqr.list: VOID:PARAM
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpznd7ou8y/tmpz0zkvsqr.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s #
857s # G_BEGIN_DECLS
857s #
857s # /* VOID:PARAM (/tmp/tmpznd7ou8y/tmpz0zkvsqr.list:1) */
857s # extern
857s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
857s # GValue *return_value,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint,
857s # gpointer marshal_data);
857s # extern
857s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
857s # GValue *return_value,
857s # gpointer instance,
857s # va_list args,
857s # gpointer marshal_data,
857s # int n_params,
857s # GType *param_types);
857s #
857s #
857s # G_END_DECLS
857s #
857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
857s # Error:
857s #
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpznd7ou8y/tmpz0zkvsqr.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifdef G_ENABLE_DEBUG
857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
857s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
857s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
857s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
857s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
857s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
857s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
857s # #else /* !G_ENABLE_DEBUG */
857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
857s # * Do not access GValues directly in your code. Instead, use the
857s # * g_value_get_*() functions
857s # */
857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
857s # #endif /* !G_ENABLE_DEBUG */
857s #
857s # /* VOID:PARAM (/tmp/tmpznd7ou8y/tmpz0zkvsqr.list:1) */
857s # void
857s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
857s # GValue *return_value G_GNUC_UNUSED,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint G_GNUC_UNUSED,
857s # gpointer marshal_data)
857s # {
857s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
857s # gpointer arg1,
857s # gpointer data2);
857s # GCClosure *cc = (GCClosure *) closure;
857s # gpointer data1, data2;
857s # GMarshalFunc_VOID__PARAM callback;
857s #
857s # g_return_if_fail (n_param_values == 2);
857s #
857s # if (G_CCLOSURE_SWAP_DATA (closure))
857s # {
857s # data1 = closure->data;
857s # data2 = g_value_peek_pointer (param_values + 0);
857s # }
857s # else
857s # {
857s # data1 = g_value_peek_pointer (param_values + 0);
857s # data2 = closure->data;
857s # }
857s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
857s #
857s # callback (data1,
857s # g_marshal_value_peek_param (param_values + 1),
857s # data2);
857s # }
857s #
857s # void
857s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
857s # GValue *return_value G_GNUC_UNUSED,
857s # gpointer instance,
857s # va_list args,
857s # gpointer marshal_data,
857s # int n_params,
857s # GType *param_types)
857s # {
857s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
857s # gpointer arg1,
857s # gpointer data2);
857s # GCClosure *cc = (GCClosure *) closure;
857s # gpointer data1, data2;
857s # GMarshalFunc_VOID__PARAM callback;
857s # gpointer arg0;
857s # va_list args_copy;
857s #
857s # va_copy (args_copy, args);
857s # arg0 = (gpointer) va_arg (args_copy, gpointer);
857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
857s # arg0 = g_param_spec_ref (arg0);
857s # va_end (args_copy);
857s #
857s #
857s # if (G_CCLOSURE_SWAP_DATA (closure))
857s # {
857s # data1 = closure->data;
857s # data2 = instance;
857s # }
857s # else
857s # {
857s # data1 = instance;
857s # data2 = closure->data;
857s # }
857s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
857s #
857s # callback (data1,
857s # arg0,
857s # data2);
857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
857s # g_param_spec_unref (arg0);
857s # }
857s # Error:
857s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
857s # glib-genmarshal: /usr/bin/glib-genmarshal
857s # tmpdir: /tmp/tmpbqrq4c87
857s # /tmp/tmpbqrq4c87/tmppk8g0_le.list: VOID:STRING
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbqrq4c87/tmppk8g0_le.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
857s #
857s # G_BEGIN_DECLS
857s #
857s # /* VOID:STRING (/tmp/tmpbqrq4c87/tmppk8g0_le.list:1) */
857s # extern
857s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
857s # GValue *return_value,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint,
857s # gpointer marshal_data);
857s # extern
857s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
857s # GValue *return_value,
857s # gpointer instance,
857s # va_list args,
857s # gpointer marshal_data,
857s # int n_params,
857s # GType *param_types);
857s #
857s #
857s # G_END_DECLS
857s #
857s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
857s # Error:
857s #
857s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpbqrq4c87/tmppk8g0_le.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
857s # Return code: 0
857s # Output:
857s # /* 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. */
857s # #ifdef G_ENABLE_DEBUG
857s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
857s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
857s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
857s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
857s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
857s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
857s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
857s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
857s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
857s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
857s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
857s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
857s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
857s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
857s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
857s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
857s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
857s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
857s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
857s # #else /* !G_ENABLE_DEBUG */
857s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
857s # * Do not access GValues directly in your code. Instead, use the
857s # * g_value_get_*() functions
857s # */
857s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
857s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
857s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
857s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
857s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
857s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
857s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
857s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
857s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
857s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
857s # #endif /* !G_ENABLE_DEBUG */
857s #
857s # /* VOID:STRING (/tmp/tmpbqrq4c87/tmppk8g0_le.list:1) */
857s # void
857s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
857s # GValue *return_value G_GNUC_UNUSED,
857s # guint n_param_values,
857s # const GValue *param_values,
857s # gpointer invocation_hint G_GNUC_UNUSED,
857s # gpointer marshal_data)
857s # {
857s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
857s # gpointer arg1,
857s # gpointer data2);
857s # GCClosure *cc = (GCClosure *) closure;
857s # gpointer data1, data2;
857s # GMarshalFunc_VOID__STRING callback;
857s #
857s # g_return_if_fail (n_param_values == 2);
857s #
857s # if (G_CCLOSURE_SWAP_DATA (closure))
857s # {
857s # data1 = closure->data;
857s # data2 = g_value_peek_pointer (param_values + 0);
857s # }
857s # else
857s # {
857s # data1 = g_value_peek_pointer (param_values + 0);
857s # data2 = closure->data;
857s # }
857s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
857s #
857s # callback (data1,
857s # g_marshal_value_peek_string (param_values + 1),
857s # data2);
857s # }
857s #
857s # void
857s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
857s # GValue *return_value G_GNUC_UNUSED,
857s # gpointer instance,
857s # va_list args,
857s # gpointer marshal_data,
857s # int n_params,
857s # GType *param_types)
857s # {
857s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
857s # gpointer arg1,
857s # gpointer data2);
857s # GCClosure *cc = (GCClosure *) closure;
857s # gpointer data1, data2;
857s # GMarshalFunc_VOID__STRING callback;
857s # gpointer arg0;
857s # va_list args_copy;
857s #
857s # va_copy (args_copy, args);
857s # arg0 = (gpointer) va_arg (args_copy, gpointer);
857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
857s # arg0 = g_strdup (arg0);
857s # va_end (args_copy);
857s #
857s #
857s # if (G_CCLOSURE_SWAP_DATA (closure))
857s # {
857s # data1 = closure->data;
857s # data2 = instance;
857s # }
857s # else
857s # {
857s # data1 = instance;
857s # data2 = closure->data;
857s # }
857s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
857s #
857s # callback (data1,
857s # arg0,
857s # data2);
857s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
857s # g_free (arg0);
857s # }
857s # Error:
858s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
858s # glib-genmarshal: /usr/bin/glib-genmarshal
858s # tmpdir: /tmp/tmp6twnpjk1
858s # /tmp/tmp6twnpjk1/tmpwnqo7ld8.list: VOID:VARIANT
858s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6twnpjk1/tmpwnqo7ld8.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
858s # Return code: 0
858s # Output:
858s # /* 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. */
858s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
858s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
858s #
858s # G_BEGIN_DECLS
858s #
858s # /* VOID:VARIANT (/tmp/tmp6twnpjk1/tmpwnqo7ld8.list:1) */
858s # extern
858s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
858s # GValue *return_value,
858s # guint n_param_values,
858s # const GValue *param_values,
858s # gpointer invocation_hint,
858s # gpointer marshal_data);
858s # extern
858s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
858s # GValue *return_value,
858s # gpointer instance,
858s # va_list args,
858s # gpointer marshal_data,
858s # int n_params,
858s # GType *param_types);
858s #
858s #
858s # G_END_DECLS
858s #
858s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
858s # Error:
858s #
858s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6twnpjk1/tmpwnqo7ld8.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
858s # Return code: 0
858s # Output:
858s # /* 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. */
858s # #ifdef G_ENABLE_DEBUG
858s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
858s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
858s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
858s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
858s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
858s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
858s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
858s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
858s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
858s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
858s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
858s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
858s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
858s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
858s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
858s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
858s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
858s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
858s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
858s # #else /* !G_ENABLE_DEBUG */
858s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
858s # * Do not access GValues directly in your code. Instead, use the
858s # * g_value_get_*() functions
858s # */
858s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
858s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
858s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
858s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
858s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
858s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
858s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
858s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
858s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
858s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
858s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
858s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
858s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
858s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
858s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
858s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
858s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
858s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
858s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
858s # #endif /* !G_ENABLE_DEBUG */
858s #
858s # /* VOID:VARIANT (/tmp/tmp6twnpjk1/tmpwnqo7ld8.list:1) */
858s # void
858s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
858s # GValue *return_value G_GNUC_UNUSED,
858s # guint n_param_values,
858s # const GValue *param_values,
858s # gpointer invocation_hint G_GNUC_UNUSED,
858s # gpointer marshal_data)
858s # {
858s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
858s # gpointer arg1,
858s # gpointer data2);
858s # GCClosure *cc = (GCClosure *) closure;
858s # gpointer data1, data2;
858s # GMarshalFunc_VOID__VARIANT callback;
858s #
858s # g_return_if_fail (n_param_values == 2);
858s #
858s # if (G_CCLOSURE_SWAP_DATA (closure))
858s # {
858s # data1 = closure->data;
858s # data2 = g_value_peek_pointer (param_values + 0);
858s # }
858s # else
858s # {
858s # data1 = g_value_peek_pointer (param_values + 0);
858s # data2 = closure->data;
858s # }
858s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
858s #
858s # callback (data1,
858s # g_marshal_value_peek_variant (param_values + 1),
858s # data2);
858s # }
858s #
858s # void
858s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
858s # GValue *return_value G_GNUC_UNUSED,
858s # gpointer instance,
858s # va_list args,
858s # gpointer marshal_data,
858s # int n_params,
858s # GType *param_types)
858s # {
858s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
858s # gpointer arg1,
858s # gpointer data2);
858s # GCClosure *cc = (GCClosure *) closure;
858s # gpointer data1, data2;
858s # GMarshalFunc_VOID__VARIANT callback;
858s # gpointer arg0;
858s # va_list args_copy;
858s #
858s # va_copy (args_copy, args);
858s # arg0 = (gpointer) va_arg (args_copy, gpointer);
858s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
858s # arg0 = g_variant_ref_sink (arg0);
858s # va_end (args_copy);
858s #
858s #
858s # if (G_CCLOSURE_SWAP_DATA (closure))
858s # {
858s # data1 = closure->data;
858s # data2 = instance;
858s # }
858s # else
858s # {
858s # data1 = instance;
858s # data2 = closure->data;
858s # }
858s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
858s #
858s # callback (data1,
858s # arg0,
858s # data2);
858s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
858s # g_variant_unref (arg0);
858s # }
858s # Error:
858s 1..8
858s ok - glib/genmarshal.py.test
858s # Running test: glib/socket.test
858s TAP version 14
858s # random seed: R02Sbf71aa9feea6ef3496e40d71f9d6ad1c
858s 1..30
858s # Start of socket tests
859s ok 1 /socket/ipv4_sync
859s # slow test /socket/ipv4_sync executed in 1.00 secs
859s # Executing: glib/socket.test
860s ok 2 /socket/ipv4_async
860s # slow test /socket/ipv4_async executed in 1.00 secs
860s ok 3 /socket/ipv6_sync
860s ok 4 /socket/ipv6_async
860s ok 5 /socket/ipv6_v4mapped
861s ok 6 /socket/close_graceful
861s # slow test /socket/close_graceful executed in 1.00 secs
861s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
861s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
861s ok 8 /socket/fd_reuse
861s ok 9 /socket/address
861s ok 10 /socket/unix-from-fd
861s ok 11 /socket/unix-connection
861s ok 12 /socket/unix-connection-ancillary-data
861s ok 13 /socket/source-postmortem
861s ok 14 /socket/read_write
861s ok 15 /socket/read_writev
861s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
861s ok 16 /socket/receive_bytes
861s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
861s ok 17 /socket/receive_bytes_from
861s # Start of ipv4_sync tests
861s ok 18 /socket/ipv4_sync/datagram
861s # Start of datagram tests
862s ok 19 /socket/ipv4_sync/datagram/timeouts
862s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
862s # End of datagram tests
862s # End of ipv4_sync tests
862s # Start of ipv6_sync tests
862s ok 20 /socket/ipv6_sync/datagram
862s # Start of datagram tests
863s ok 21 /socket/ipv6_sync/datagram/timeouts
863s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
863s # End of datagram tests
863s # End of ipv6_sync tests
863s # Start of reuse tests
863s ok 22 /socket/reuse/tcp
863s ok 23 /socket/reuse/udp
863s # End of reuse tests
863s # Start of get_available tests
863s ok 24 /socket/get_available/datagram
863s ok 25 /socket/get_available/stream
863s # End of get_available tests
863s # Start of credentials tests
863s # Supported on this OS: GCredentials:linux-ucred:pid=0
863s ok 26 /socket/credentials/tcp_client
863s # Supported on this OS: GCredentials:linux-ucred:pid=0
863s ok 27 /socket/credentials/tcp_server
863s # Supported on this OS: GCredentials:linux-ucred:pid=39223,uid=1000,gid=1000
863s ok 28 /socket/credentials/unix_socketpair
863s # End of credentials tests
863s # Start of accept tests
863s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
863s ok 29 /socket/accept/cancelled
863s # End of accept tests
863s # Start of connect tests
863s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
863s ok 30 /socket/connect/cancelled
863s # End of connect tests
863s # End of socket tests
863s ok - glib/socket.test
863s # Running test: glib/tls-interaction.test
863s ok - glib/tls-interaction.test
863s # Running test: glib/data-output-stream.test
863s ok - glib/data-output-stream.test
863s # Running test: glib/gdbus-proxy-threads.test
863s TAP version 14
863s # random seed: R02S3c9e6538ced497926405358f05590b55
863s 1..42
863s # Start of tls-interaction tests
863s # Start of ask-password tests
863s # Start of invoke-with-loop tests
863s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
863s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
863s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
863s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
863s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
863s # End of invoke-with-loop tests
863s # Start of invoke-without-loop tests
863s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
863s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
863s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
863s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
863s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
863s # End of invoke-without-loop tests
863s # Start of invoke-in-loop tests
863s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
863s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
863s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
863s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
863s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
863s # End of invoke-in-loop tests
863s # Start of sync tests
863s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
863s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
863s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
863s # End of sync tests
863s # Start of async tests
863s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
863s ok 20 /tls-interaction/ask-password/async/async-implementation-success
863s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
863s # End of async tests
863s # End of ask-password tests
863s # Start of request-certificate tests
863s # Start of invoke-with-loop tests
863s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
863s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
863s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
863s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
863s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
863s # End of invoke-with-loop tests
863s # Start of invoke-without-loop tests
863s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
863s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
863s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
863s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
863s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
863s # End of invoke-without-loop tests
863s # Start of invoke-in-loop tests
863s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
863s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
863s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
863s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
863s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
863s # End of invoke-in-loop tests
863s # Start of sync tests
863s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
863s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
863s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
863s # End of sync tests
863s # Start of async tests
863s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
863s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
863s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
863s # End of async tests
863s # End of request-certificate tests
863s # End of tls-interaction tests
863s TAP version 14
863s # random seed: R02S78d38c0388cd4a75ade52eb4945859d6
863s 1..7
863s # Start of data-output-stream tests
863s ok 1 /data-output-stream/basic
863s ok 2 /data-output-stream/write-lines-LF
863s ok 3 /data-output-stream/write-lines-CR
863s ok 4 /data-output-stream/write-lines-CR-LF
863s ok 5 /data-output-stream/write-int
863s ok 6 /data-output-stream/seek
863s ok 7 /data-output-stream/truncate
863s # End of data-output-stream tests
863s TAP version 14
863s # random seed: R02S091e3696805950ead94df590ab8d461a
863s 1..1
863s # Start of gdbus tests
863s # Start of proxy tests
863s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/home
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/cache
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/system-config2
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/config
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/system-data2
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/data
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/state
863s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_VFI4J3/gdbus/proxy/vs-threads/.dirs/runtime
864s ok - glib/gdbus-proxy-threads.test
864s # Running test: glib/binding.test
864s ok 1 /gdbus/proxy/vs-threads
864s # slow test /gdbus/proxy/vs-threads executed in 0.69 secs
864s # End of proxy tests
864s # End of gdbus tests
864s cleaning up pid 39262
864s TAP version 14
864s # random seed: R02S022ffd354ea466e3c5b44ceef3be48ec
864s 1..19
864s # Start of binding tests
864s ok 1 /binding/default
864s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
864s ok 2 /binding/canonicalisation
864s ok 3 /binding/bidirectional
864s ok 4 /binding/transform
864s ok 5 /binding/transform-default
864s ok 6 /binding/transform-closure
864s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
864s ok 7 /binding/chain
864s ok 8 /binding/sync-create
864s ok 9 /binding/invert-boolean
864s ok 10 /binding/same-object
864s ok 11 /binding/unbind
864s ok 12 /binding/unbind-weak
864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
864s ok 13 /binding/unbind-multiple
864s ok 14 /binding/fail
864s ok 15 /binding/interface
864s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
864s ok 16 /binding/concurrent-unbind
864s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
864s ok 17 /binding/concurrent-finalizing
864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
864s ok 18 /binding/dispose-source
864s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
864s ok 19 /binding/dispose-target
864s # End of binding tests
864s ok - glib/binding.test
864s # Running test: glib/utf8-validate.test
864s TAP version 14
864s # random seed: R02S8bb9a7c64a30bbd79407d2f08f7d395c
864s 1..238
864s # Start of utf8 tests
864s # Vector 0
864s # Vector 1
864s # Vector 2
864s # Vector 3
864s # Vector 4
864s # Vector 5
864s # Vector 6
864s # Vector 7
864s # Vector 8
864s # Vector 9
864s # Vector 10
864s # Vector 11
864s # Vector 12
864s # Vector 13
864s # Vector 14
864s # Vector 15
864s # Vector 16
864s # Vector 17
864s # Vector 18
864s # Vector 19
864s # Vector 20
864s # Vector 21
864s # Vector 22
864s # Vector 23
864s # Vector 24
864s # Vector 25
864s # Vector 26
864s # Vector 27
864s ok 1 /utf8/get-char-validated
864s # Start of validate tests
864s ok 2 /utf8/validate/0
864s ok 3 /utf8/validate/1
864s ok 4 /utf8/validate/2
864s ok 5 /utf8/validate/3
864s ok 6 /utf8/validate/4
864s ok 7 /utf8/validate/5
864s ok 8 /utf8/validate/6
864s ok 9 /utf8/validate/7
864s ok 10 /utf8/validate/8
864s ok 11 /utf8/validate/9
864s ok 12 /utf8/validate/10
864s ok 13 /utf8/validate/11
864s ok 14 /utf8/validate/12
864s ok 15 /utf8/validate/13
864s ok 16 /utf8/validate/14
864s ok 17 /utf8/validate/15
864s ok 18 /utf8/validate/16
864s ok 19 /utf8/validate/17
864s ok 20 /utf8/validate/18
864s ok 21 /utf8/validate/19
864s ok 22 /utf8/validate/20
864s ok 23 /utf8/validate/21
864s ok 24 /utf8/validate/22
864s ok 25 /utf8/validate/23
864s ok 26 /utf8/validate/24
864s ok 27 /utf8/validate/25
864s ok 28 /utf8/validate/26
864s ok 29 /utf8/validate/27
864s ok 30 /utf8/validate/28
864s ok 31 /utf8/validate/29
864s ok 32 /utf8/validate/30
864s ok 33 /utf8/validate/31
864s ok 34 /utf8/validate/32
864s ok 35 /utf8/validate/33
864s ok 36 /utf8/validate/34
864s ok 37 /utf8/validate/35
864s ok 38 /utf8/validate/36
864s ok 39 /utf8/validate/37
864s ok 40 /utf8/validate/38
864s ok 41 /utf8/validate/39
864s ok 42 /utf8/validate/40
864s ok 43 /utf8/validate/41
864s ok 44 /utf8/validate/42
864s ok 45 /utf8/validate/43
864s ok 46 /utf8/validate/44
864s ok 47 /utf8/validate/45
864s ok 48 /utf8/validate/46
864s ok 49 /utf8/validate/47
864s ok 50 /utf8/validate/48
864s ok 51 /utf8/validate/49
864s ok 52 /utf8/validate/50
864s ok 53 /utf8/validate/51
864s ok 54 /utf8/validate/52
864s ok 55 /utf8/validate/53
864s ok 56 /utf8/validate/54
864s ok 57 /utf8/validate/55
864s ok 58 /utf8/validate/56
864s ok 59 /utf8/validate/57
864s ok 60 /utf8/validate/58
864s ok 61 /utf8/validate/59
864s ok 62 /utf8/validate/60
864s ok 63 /utf8/validate/61
864s ok 64 /utf8/validate/62
864s ok 65 /utf8/validate/63
864s ok 66 /utf8/validate/64
864s ok 67 /utf8/validate/65
864s ok 68 /utf8/validate/66
864s ok 69 /utf8/validate/67
864s ok 70 /utf8/validate/68
864s ok 71 /utf8/validate/69
864s ok 72 /utf8/validate/70
864s ok 73 /utf8/validate/71
864s ok 74 /utf8/validate/72
864s ok 75 /utf8/validate/73
864s ok 76 /utf8/validate/74
864s ok 77 /utf8/validate/75
864s ok 78 /utf8/validate/76
864s ok 79 /utf8/validate/77
864s ok 80 /utf8/validate/78
864s ok 81 /utf8/validate/79
864s ok 82 /utf8/validate/80
864s ok 83 /utf8/validate/81
864s ok 84 /utf8/validate/82
864s ok 85 /utf8/validate/83
864s ok 86 /utf8/validate/84
864s ok 87 /utf8/validate/85
864s ok 88 /utf8/validate/86
864s ok 89 /utf8/validate/87
864s ok 90 /utf8/validate/88
864s ok 91 /utf8/validate/89
864s ok 92 /utf8/validate/90
864s ok 93 /utf8/validate/91
864s ok 94 /utf8/validate/92
864s ok 95 /utf8/validate/93
864s ok 96 /utf8/validate/94
864s ok 97 /utf8/validate/95
864s ok 98 /utf8/validate/96
864s ok 99 /utf8/validate/97
864s ok 100 /utf8/validate/98
864s ok 101 /utf8/validate/99
864s ok 102 /utf8/validate/100
864s ok 103 /utf8/validate/101
864s ok 104 /utf8/validate/102
864s ok 105 /utf8/validate/103
864s ok 106 /utf8/validate/104
864s ok 107 /utf8/validate/105
864s ok 108 /utf8/validate/106
864s ok 109 /utf8/validate/107
864s ok 110 /utf8/validate/108
864s ok 111 /utf8/validate/109
864s ok 112 /utf8/validate/110
864s ok 113 /utf8/validate/111
864s ok 114 /utf8/validate/112
864s ok 115 /utf8/validate/113
864s ok 116 /utf8/validate/114
864s ok 117 /utf8/validate/115
864s ok 118 /utf8/validate/116
864s ok 119 /utf8/validate/117
864s ok 120 /utf8/validate/118
864s ok 121 /utf8/validate/119
864s ok 122 /utf8/validate/120
864s ok 123 /utf8/validate/121
864s ok 124 /utf8/validate/122
864s ok 125 /utf8/validate/123
864s ok 126 /utf8/validate/124
864s ok 127 /utf8/validate/125
864s ok 128 /utf8/validate/126
864s ok 129 /utf8/validate/127
864s ok 130 /utf8/validate/128
864s ok 131 /utf8/validate/129
864s ok 132 /utf8/validate/130
864s ok 133 /utf8/validate/131
864s ok 134 /utf8/validate/132
864s ok 135 /utf8/validate/133
864s ok 136 /utf8/validate/134
864s ok 137 /utf8/validate/135
864s ok 138 /utf8/validate/136
864s ok 139 /utf8/validate/137
864s ok 140 /utf8/validate/138
864s ok 141 /utf8/validate/139
864s ok 142 /utf8/validate/140
864s ok 143 /utf8/validate/141
864s ok 144 /utf8/validate/142
864s ok 145 /utf8/validate/143
864s ok 146 /utf8/validate/144
864s ok 147 /utf8/validate/145
864s ok 148 /utf8/validate/146
864s ok 149 /utf8/validate/147
864s ok 150 /utf8/validate/148
864s ok 151 /utf8/validate/149
864s ok 152 /utf8/validate/150
864s ok 153 /utf8/validate/151
864s ok 154 /utf8/validate/152
864s ok 155 /utf8/validate/153
864s ok 156 /utf8/validate/154
864s ok 157 /utf8/validate/155
864s ok 158 /utf8/validate/156
864s ok 159 /utf8/validate/157
864s ok 160 /utf8/validate/158
864s ok 161 /utf8/validate/159
864s ok 162 /utf8/validate/160
864s ok 163 /utf8/validate/161
864s ok 164 /utf8/validate/162
864s ok 165 /utf8/validate/163
864s ok 166 /utf8/validate/164
864s ok 167 /utf8/validate/165
864s ok 168 /utf8/validate/166
864s ok 169 /utf8/validate/167
864s ok 170 /utf8/validate/168
864s ok 171 /utf8/validate/169
864s ok 172 /utf8/validate/170
864s ok 173 /utf8/validate/171
864s ok 174 /utf8/validate/172
864s ok 175 /utf8/validate/173
864s ok 176 /utf8/validate/174
864s ok 177 /utf8/validate/175
864s ok 178 /utf8/validate/176
864s ok 179 /utf8/validate/177
864s ok 180 /utf8/validate/178
864s ok 181 /utf8/validate/179
864s ok 182 /utf8/validate/180
864s ok 183 /utf8/validate/181
864s ok 184 /utf8/validate/182
864s ok 185 /utf8/validate/183
864s ok 186 /utf8/validate/184
864s ok 187 /utf8/validate/185
864s ok 188 /utf8/validate/186
864s ok 189 /utf8/validate/187
864s ok 190 /utf8/validate/188
864s ok 191 /utf8/validate/189
864s ok 192 /utf8/validate/190
864s ok 193 /utf8/validate/191
864s ok 194 /utf8/validate/192
864s ok 195 /utf8/validate/193
864s ok 196 /utf8/validate/194
864s ok 197 /utf8/validate/195
864s ok 198 /utf8/validate/196
864s ok 199 /utf8/validate/197
864s ok 200 /utf8/validate/198
864s ok 201 /utf8/validate/199
864s ok 202 /utf8/validate/200
864s ok 203 /utf8/validate/201
864s ok 204 /utf8/validate/202
864s ok 205 /utf8/validate/203
864s ok 206 /utf8/validate/204
864s ok 207 /utf8/validate/205
864s ok 208 /utf8/validate/206
864s ok 209 /utf8/validate/207
864s ok 210 /utf8/validate/208
864s ok 211 /utf8/validate/209
864s ok 212 /utf8/validate/210
864s ok 213 /utf8/validate/211
864s ok 214 /utf8/validate/212
864s ok 215 /utf8/validate/213
864s ok 216 /utf8/validate/214
864s ok 217 /utf8/validate/215
864s ok 218 /utf8/validate/216
864s ok 219 /utf8/validate/217
864s ok 220 /utf8/validate/218
864s ok 221 /utf8/validate/219
864s ok 222 /utf8/validate/220
864s ok 223 /utf8/validate/221
864s ok 224 /utf8/validate/222
864s ok 225 /utf8/validate/223
864s ok 226 /utf8/validate/224
864s ok 227 /utf8/validate/225
864s ok 228 /utf8/validate/226
864s ok 229 /utf8/validate/227
864s ok 230 /utf8/validate/228
864s ok 231 /utf8/validate/229
864s ok 232 /utf8/validate/230
864s ok 233 /utf8/validate/231
864s ok 234 /utf8/validate/232
864s ok 235 /utf8/validate/233
864s ok 236 /utf8/validate/234
864s ok 237 /utf8/validate/235
864s ok 238 /utf8/validate/236
864s # End of validate tests
864s # End of utf8 tests
864s ok - glib/utf8-validate.test
864s # Running test: glib/slist.test
864s ok - glib/slist.test
864s # Running test: glib/gdbus-non-socket.test
864s ok - glib/gdbus-non-socket.test
864s TAP version 14
864s # random seed: R02Sc4204cb87a7eb3da688f6563d5a522eb
864s 1..14
864s # Start of slist tests
864s ok 1 /slist/sort
864s ok 2 /slist/sort-with-data
864s ok 3 /slist/insert-sorted
864s ok 4 /slist/insert-sorted-with-data
864s ok 5 /slist/reverse
864s ok 6 /slist/nth
864s ok 7 /slist/remove
864s ok 8 /slist/remove-all
864s ok 9 /slist/insert
864s ok 10 /slist/position
864s ok 11 /slist/concat
864s ok 12 /slist/copy
864s # Start of sort tests
864s ok 13 /slist/sort/stable
864s # End of sort tests
864s # Start of copy tests
864s ok 14 /slist/copy/deep
864s # End of copy tests
864s # End of slist tests
864s TAP version 14
864s # random seed: R02S6f9be6d939193ef412aac9d282114c9b
864s 1..1
864s # Start of gdbus tests
864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/home
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/cache
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/system-config2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/config
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/system-data2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/data
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/state
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_69VKK3/gdbus/non-socket/.dirs/runtime
864s ok 1 /gdbus/non-socket
864s # End of gdbus tests
864s # Running test: glib/g-file-info-filesystem-readonly.test
864s TAP version 14
864s # random seed: R02S23c448cfbd6e40d70ce4edfb931b520e
864s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
864s 1..2
864s # Start of g-file-info-filesystem-readonly tests
864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime
864s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
864s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state
864s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_68JKK3/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime
864s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
864s # End of g-file-info-filesystem-readonly tests
864s ok - glib/g-file-info-filesystem-readonly.test
864s # Running test: glib/volumemonitor.test
864s TAP version 14
864s # random seed: R02Sefda111abba5c08ffb6f3293ec5b6240
864s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
864s 1..3
864s # Start of volumemonitor tests
864s ok 1 /volumemonitor/connected_drives
864s ok 2 /volumemonitor/volumes
864s ok 3 /volumemonitor/mounts
864s # End of volumemonitor tests
864s ok - glib/volumemonitor.test
864s # Running test: glib/shell.test
864s TAP version 14
864s # random seed: R02S17ed274a937bd83061ccc5266171b891
864s 1..52
864s # Start of shell tests
864s # Start of cmdline tests
864s test cmdline: foo bar
864s ok 1 /shell/cmdline/0
864s test cmdline: foo 'bar'
864s ok 2 /shell/cmdline/1
864s test cmdline: foo "bar"
864s ok 3 /shell/cmdline/2
864s test cmdline: foo '' 'bar'
864s ok 4 /shell/cmdline/3
864s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
864s ok 5 /shell/cmdline/4
864s test cmdline: foo blah foo bar baz
864s ok 6 /shell/cmdline/5
864s test cmdline: foo ' spaces more spaces lots of spaces in this '
864s ok 7 /shell/cmdline/6
864s test cmdline: foo \
864s bar
864s ok 8 /shell/cmdline/7
864s test cmdline: foo '' ''
864s ok 9 /shell/cmdline/8
864s test cmdline: foo \" la la la
864s ok 10 /shell/cmdline/9
864s test cmdline: foo \ foo woo woo\
864s ok 11 /shell/cmdline/10
864s test cmdline: foo "yada yada \$\""
864s ok 12 /shell/cmdline/11
864s test cmdline: foo "c:\\"
864s ok 13 /shell/cmdline/12
864s test cmdline: foo # bla bla bla
864s bar
864s ok 14 /shell/cmdline/13
864s test cmdline: foo a#b
864s ok 15 /shell/cmdline/14
864s test cmdline: #foo
864s ok 16 /shell/cmdline/15
864s test cmdline: foo bar \
864s ok 17 /shell/cmdline/16
864s test cmdline: foo 'bar baz
864s ok 18 /shell/cmdline/17
864s test cmdline: foo '"bar" baz
864s ok 19 /shell/cmdline/18
864s test cmdline:
864s ok 20 /shell/cmdline/19
864s test cmdline:
864s ok 21 /shell/cmdline/20
864s test cmdline: # foo bar
864s ok 22 /shell/cmdline/21
864s test cmdline: #
864s ok 23 /shell/cmdline/22
864s test cmdline: foo '/bar/summer'\''09 tours.pdf'
864s ok 24 /shell/cmdline/23
864s # End of cmdline tests
864s # Start of quote tests
864s ok 25 /shell/quote/0
864s ok - glib/shell.test
864s # Running test: glib/objects-refcount1.test
864s ok 26 /shell/quote/1
864s ok 27 /shell/quote/2
864s ok 28 /shell/quote/3
864s ok 29 /shell/quote/4
864s ok 30 /shell/quote/5
864s ok 31 /shell/quote/6
864s # End of quote tests
864s # Start of unquote tests
864s ok 32 /shell/unquote/0
864s ok 33 /shell/unquote/1
864s ok 34 /shell/unquote/2
864s ok 35 /shell/unquote/3
864s ok 36 /shell/unquote/4
864s ok 37 /shell/unquote/5
864s ok 38 /shell/unquote/6
864s ok 39 /shell/unquote/7
864s ok 40 /shell/unquote/8
864s ok 41 /shell/unquote/9
864s ok 42 /shell/unquote/10
864s ok 43 /shell/unquote/11
864s ok 44 /shell/unquote/12
864s ok 45 /shell/unquote/13
864s ok 46 /shell/unquote/14
864s ok 47 /shell/unquote/15
864s ok 48 /shell/unquote/16
864s ok 49 /shell/unquote/17
864s ok 50 /shell/unquote/18
864s ok 51 /shell/unquote/19
864s ok 52 /shell/unquote/20
864s # End of unquote tests
864s # End of shell tests
864s TAP version 14
864s # random seed: R02S29ab2a776fb9e77f6b87fbe922d1dba6
864s 1..1
864s # Start of gobject tests
864s # Start of refcount tests
864s # init 0xadfe69130da0
864s #
864s # init 0xadfe69130eb0
864s #
864s # Executing: glib/objects-refcount1.test
869s # dispose 0xadfe69130da0!
869s #
869s # dispose 0xadfe69130eb0!
869s #
869s ok 1 /gobject/refcount/object-basics
869s # slow test /gobject/refcount/object-basics executed in 5.00 secs
869s # End of refcount tests
869s # End of gobject tests
869s ok - glib/objects-refcount1.test
869s # Running test: glib/live-g-file.test
869s TAP version 14
869s # random seed: R02Sc7c766cccac19257b539bc0dbd03eea1
869s 1..13
869s # Start of live-g-file tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/prep_clean_structure/.dirs/runtime
869s # Cleaning target testing structure in '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
869s ok 1 /live-g-file/prep_clean_structure
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/create_structure/.dirs/runtime
869s #
869s # Going to create testing structure in '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # Creating directory 'dir1'...
869s # Creating directory 'dir1/subdir'...
869s # Creating directory 'dir2'...
869s # Creating directory 'dir-target'...
869s # Creating directory 'dir_no-access'...
869s # Creating directory 'dir_no-write'...
869s # Creating file 'target-file'...
869s # Creating file 'normal_file'...
869s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
869s # Creating file 'executable_file'...
869s # Creating file 'private_file'...
869s # Creating file 'normal_file2'...
869s # Creating file 'readonly_file'...
869s # Creating file 'UTF_příliš z'...
869s # Creating directory 'dir_příliš z'...
869s # Creating symlink 'lost_symlink' --> 'nowhere'...
869s # Creating directory 'dir_hidden'...
869s # Creating file 'dir_hidden/.a-hidden-file'...
869s # Creating file 'dir_hidden/file-in-.hidden1'...
869s # Creating file 'dir_hidden/file-in-.hidden2'...
869s # Creating pattern file...
869s # done.
869s ok 2 /live-g-file/create_structure
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_initial_structure/.dirs/runtime
869s # Testing sample structure in '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # Testing file 'dir1'...
869s # Testing file 'dir1/subdir'...
869s # Testing file 'dir2'...
869s # Testing file 'dir-target'...
869s # Testing file 'dir_no-access'...
869s # Testing file 'dir_no-write'...
869s # Testing file 'target-file'...
869s # Testing file 'normal_file'...
869s # Testing file 'normal_file-symlink'...
869s # Testing file 'executable_file'...
869s # Testing file 'private_file'...
869s # Testing file 'normal_file2'...
869s # Testing file 'readonly_file'...
869s # Testing file 'UTF_příliš z'...
869s # Testing file 'dir_příliš z'...
869s # Testing file 'lost_symlink'...
869s # Testing file 'dir_hidden'...
869s # Testing file 'dir_hidden/.a-hidden-file'...
869s # Testing file 'dir_hidden/file-in-.hidden1'...
869s # Testing file 'dir_hidden/file-in-.hidden2'...
869s # Testing pattern file...
869s # read 65536 bytes, total = 65536 of 65536.
869s ok 3 /live-g-file/test_initial_structure
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_traverse_structure/.dirs/runtime
869s # Traversing through the sample structure in '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # Found file dir1, relative to root: dir1
869s # Found file subdir, relative to root: dir1/subdir
869s # Found file dir2, relative to root: dir2
869s # Found file dir-target, relative to root: dir-target
869s # Found file dir_no-access, relative to root: dir_no-access
869s # Found file dir_no-write, relative to root: dir_no-write
869s # Found file target-file, relative to root: target-file
869s # Found file normal_file, relative to root: normal_file
869s # Found file normal_file-symlink, relative to root: normal_file-symlink
869s # Found file executable_file, relative to root: executable_file
869s # Found file private_file, relative to root: private_file
869s # Found file normal_file2, relative to root: normal_file2
869s # Found file readonly_file, relative to root: readonly_file
869s # Found file UTF_příliš z, relative to root: UTF_příliš z
869s # Found file dir_příliš z, relative to root: dir_příliš z
869s # Found file lost_symlink, relative to root: lost_symlink
869s # Found file dir_hidden, relative to root: dir_hidden
869s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
869s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
869s # Found file .hidden, relative to root: dir_hidden/.hidden
869s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
869s # Found file pattern_file, relative to root: pattern_file
869s ok 4 /live-g-file/test_traverse_structure
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_enumerate/.dirs/runtime
869s # Test enumerate '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # Testing file 'dir_no-access'
869s # Testing file 'normal_file'
869s # Testing file 'normal_file-symlink'
869s # Testing file 'not_exists'
869s # Testing file 'not_exists'
869s # Testing file 'not_exists2'
869s # Testing file 'not_exists3'
869s # Testing file 'not_exists4'
869s # Testing file 'dir_no-execute/file'
869s ok 5 /live-g-file/test_enumerate
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_open/.dirs/runtime
869s # test_open: 'dir1'
869s # test_open: 'dir_no-access'
869s # test_open: 'target-file'
869s # test_open: 'normal_file-symlink'
869s # test_open: 'executable_file'
869s # test_open: 'private_file'
869s # test_open: 'readonly_file'
869s # test_open: 'UTF_příliš z'
869s # test_open: 'pattern_file'
869s # test_open: 'not_exists'
869s # test_open: 'dir_no-execute/file'
869s # test_open: 'lost_symlink'
869s ok 6 /live-g-file/test_open
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_create/.dirs/runtime
869s # test_create: 'dir1'
869s # error code 3 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir1”: Is a directory
869s # test_create: 'dir1/subdir'
869s # error code 3 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir1/subdir”: Is a directory
869s # test_create: 'dir2'
869s # error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir2”: File exists
869s # test_create: 'normal_file'
869s # error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/normal_file”: File exists
869s # test_create: 'executable_file'
869s # test_create: 'private_file'
869s # test_create: 'normal_file2'
869s # test_create: 'UTF_příliš z'
869s # error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/UTF_příliš z”: File exists
869s # test_create: 'dir_příliš z'
869s # error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_příliš z”: File exists
869s # test_create: 'pattern_file'
869s # test_create: 'not_exists2'
869s # test_create: 'not_exists3'
869s # test_create: 'not_exists4'
869s ok 7 /live-g-file/test_create
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_copy_move/.dirs/runtime
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> 'dir-target'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> '.'
869s # res = 0, error code 2 = Target file exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> 'target-file'
869s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/dir1/subdir”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> 'not_exists'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir2' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> 'dir-target'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> '.'
869s # res = 0, error code 2 = Target file exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> 'target-file'
869s # res = 0, error code 4 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/dir-target”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> 'not_exists'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> 'dir_no-access'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'dir-target' --> 'dir_no-write'
869s # res = 0, error code 25 = Can’t recursively copy directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/target-file”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/target-file”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/target-file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'target-file' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/target-file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> '.'
869s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/normal_file-symlink: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> 'target-file'
869s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
869s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
869s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
869s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/executable_file”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/executable_file”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/executable_file”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/executable_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'executable_file' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/executable_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/private_file”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/private_file”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/private_file”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/private_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'private_file' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/private_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/normal_file2”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/normal_file2”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/normal_file2”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/normal_file2”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'normal_file2' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/normal_file2”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/UTF_příliš z”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/UTF_příliš z”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/UTF_příliš z”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/UTF_příliš z”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'UTF_příliš z' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/UTF_příliš z”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> '.'
869s # res = 0, error code 2 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/pattern_file”: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> 'target-file'
869s # res = 0, error code 4 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/pattern_file”: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> 'not_exists'
869s # res = 0, error code 1 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/pattern_file”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> 'dir_no-access'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/pattern_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'pattern_file' --> 'dir_no-write'
869s # res = 0, error code 14 = Error opening file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/pattern_file”: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'dir-target'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> '.'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'target-file'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'not_exists'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'dir_no-access'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'dir_no-write'
869s # res = 0, error code 1 = Error when getting information for file “/tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists”: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'not_exists' --> 'dir-target'
869s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> 'dir-target'
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> '.'
869s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/lost_symlink: File exists
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> 'target-file'
869s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/target-file/lost_symlink: Not a directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> 'not_exists'
869s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
869s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
869s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
869s ok 8 /live-g-file/test_copy_move
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_delete/.dirs/runtime
869s # Deleting dir1, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir1
869s # result = 0, error = Error removing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir1: Directory not empty
869s # Deleting dir2, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir2
869s # result = 0, error = Error removing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir2: No such file or directory
869s # Deleting executable_file, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/executable_file
869s # result = 0, error = Error trashing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/executable_file: No such file or directory
869s # Deleting readonly_file, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/readonly_file
869s # Deleting dir_příliš z, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_příliš z
869s # Deleting not_exists, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists
869s # result = 0, error = Error removing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists: No such file or directory
869s # Deleting not_exists, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists
869s # result = 0, error = Error trashing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/not_exists: No such file or directory
869s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-execute/file
869s # result = 0, error = Error removing file /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/dir_no-execute/file: No such file or directory
869s # Deleting lost_symlink, path = /tmp/test_live-g-file_OU9KK3/testdir_live-g-file/lost_symlink
869s ok 9 /live-g-file/test_delete
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_make_directory_with_parents/.dirs/runtime
869s # We do not have CAP_DAC_OVERRIDE or equivalent
869s ok 10 /live-g-file/test_make_directory_with_parents
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/final_clean/.dirs/runtime
869s # Cleaning target testing structure in '/tmp/test_live-g-file_OU9KK3/testdir_live-g-file'...
869s # deleting 'dir1'
869s # deleting 'subdir'
869s # deleting 'dir-target'
869s # deleting 'dir2'
869s # deleting 'target-file'
869s # deleting 'normal_file-symlink'
869s # deleting 'pattern_file'
869s # deleting 'executable_file'
869s # deleting 'private_file'
869s # deleting 'normal_file2'
869s # deleting 'UTF_příliš z'
869s # deleting 'lost_symlink'
869s # deleting 'dir_no-access'
869s # deleting 'dir_no-write'
869s # deleting 'target-file'
869s # deleting 'normal_file'
869s # deleting 'normal_file-symlink'
869s # deleting 'executable_file~'
869s # deleting 'private_file'
869s # deleting 'normal_file2~'
869s # deleting 'a'
869s # deleting 'UTF_příliš z'
869s # deleting 'dir_hidden'
869s # deleting '.a-hidden-file'
869s # deleting 'file-in-.hidden1'
869s # deleting '.hidden'
869s # deleting 'file-in-.hidden2'
869s # deleting 'pattern_file'
869s # deleting 'executable_file'
869s # deleting 'normal_file2'
869s # deleting 'not_exists2'
869s # deleting 'not_exists3'
869s # deleting 'not_exists4'
869s ok - glib/live-g-file.test
869s # Running test: glib/closure.test
869s ok - glib/closure.test
869s # Running test: glib/mimeapps.test
869s ok 11 /live-g-file/final_clean
869s # Start of test_unix_is_mountpoint tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime
869s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_OU9KK3/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime
869s ok 13 /live-g-file/test_unix_is_mountpoint/proc
869s # End of test_unix_is_mountpoint tests
869s # End of live-g-file tests
869s TAP version 14
869s # random seed: R02S1cc366c98a897e8e5bf576455158564c
869s 1..6
869s # Start of closure tests
869s ok 1 /closure/idle
869s ok 2 /closure/timeout
869s ok 3 /closure/iochannel
869s ok 4 /closure/child
869s ok 5 /closure/fd
869s ok 6 /closure/signal
869s # End of closure tests
869s TAP version 14
869s # random seed: R02S0759cacb66ddb0a8c50d8941ac100523
869s 1..13
869s # Start of appinfo tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/data/applications/mimeinfo.cache'
869s ok 1 /appinfo/all
869s # Start of mime tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/all/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config
869s ok 2 /appinfo/mime/api
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config
869s ok 3 /appinfo/mime/default
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config
869s ok 4 /appinfo/mime/file
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/config
869s ok 5 /appinfo/mime/scheme-handler
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config
869s ok 6 /appinfo/mime/default-last-used
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/config
869s ok 7 /appinfo/mime/ignore-nonexisting
869s # End of mime tests
869s # Start of mime-symlinked tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-data1/applications'
869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime/ignore-nonexisting/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config
869s ok 8 /appinfo/mime-symlinked/api
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/api/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config
869s ok 9 /appinfo/mime-symlinked/default
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config
869s ok 10 /appinfo/mime-symlinked/file
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/file/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/config
869s ok 11 /appinfo/mime-symlinked/scheme-handler
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/scheme-handler/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config
869s ok 12 /appinfo/mime-symlinked/default-last-used
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/runtime
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list.c'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
869s # removing '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
869s # creating '/tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
869s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/default-last-used/.dirs/config to /tmp/test_mimeapps_GUB8J3/appinfo/mime-symlinked/ignore-nonexisting/.dirs/config
869s ok 13 /appinfo/mime-symlinked/ignore-nonexisting
869s # End of mime-symlinked tests
869s # End of appinfo tests
869s ok - glib/mimeapps.test
869s # Running test: glib/spawn-test.test
869s TAP version 14
869s # random seed: R02Sb6304ea910d29df2bbbb3d9d48748dc0
869s 1..2
869s # Start of spawn tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_4NJ5J3/spawn/basics/.dirs/runtime
869s ok 1 /spawn/basics
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_4NJ5J3/spawn/stdio-overwrite/.dirs/runtime
869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
869s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
869s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
869s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
869s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
869s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
869s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
869s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
869s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
869s # Fetching GSpawn result output with stdin open, stdout open, stderr open
869s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
869s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
869s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
869s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
869s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
869s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
869s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
869s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
869s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
869s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
869s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
869s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
869s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
869s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
869s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
869s # Fetching GSpawn result with stdin open, stdout open, stderr open
869s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
869s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
869s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
869s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
869s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
869s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
869s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
869s ok 2 /spawn/stdio-overwrite
869s # End of spawn tests
869s ok - glib/spawn-test.test
869s # Running test: glib/object-info.test
869s TAP version 14
869s # random seed: R02S4fcf727b51849f66c1567bb3fb6be942
869s 1..2
869s # Start of object-info tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_UWW5J3/object-info/find-method-using-interfaces/.dirs/runtime
869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
869s ok 1 /object-info/find-method-using-interfaces
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_UWW5J3/object-info/find-vfunc-using-interfaces/.dirs/runtime
869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
869s ok 2 /object-info/find-vfunc-using-interfaces
869s # End of object-info tests
869s ok - glib/object-info.test
869s # Running test: glib/signals-refcount2.test
869s TAP version 14
869s # random seed: R02Sa3fc683b8aa1f9e0d012a6e24ec4393b
869s 1..1
869s # Start of gobject tests
869s # Start of refcount tests
869s # init 0xbea49e6264b0
869s #
869s # init 0xbea49e61e580
869s #
869s # Executing: glib/signals-refcount2.test
874s # dispose 0xbea49e6264b0!
874s #
874s # dispose 0xbea49e61e580!
874s #
874s ok 1 /gobject/refcount/signals
874s # slow test /gobject/refcount/signals executed in 5.00 secs
874s # End of refcount tests
874s # End of gobject tests
874s ok - glib/signals-refcount2.test
874s # Running test: glib/gdbus-error.test
874s TAP version 14
874s # random seed: R02S0f02d0f36e7bba8fd1b0f8264d3163ce
874s 1..4
874s # Start of gdbus tests
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2DN5J3/gdbus/registered-errors/.dirs/runtime
874s ok 1 /gdbus/registered-errors
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2DN5J3/gdbus/unregistered-errors/.dirs/runtime
874s ok 2 /gdbus/unregistered-errors
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2DN5J3/gdbus/transparent-gerror/.dirs/runtime
874s ok 3 /gdbus/transparent-gerror
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_2DN5J3/gdbus/register-error/.dirs/runtime
874s ok 4 /gdbus/register-error
874s # End of gdbus tests
874s TAP version 14
874s # random seed: R02S2a2dabc918d44df96941a3ca9d9f849c
874s 1..39
874s # Start of unicode tests
874s ok 1 /unicode/alnum
874s ok 2 /unicode/alpha
874s ok 3 /unicode/break-type
874s ok 4 /unicode/canonical-decomposition
874s ok 5 /unicode/casefold
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s # Cannot set locale to lt_LT, skipping
874s ok 6 /unicode/casemap_and_casefold
874s ok 7 /unicode/cases
874s ok 8 /unicode/character-type
874s ok 9 /unicode/cntrl
874s ok - glib/gdbus-error.test
874s # Running test: glib/unicode.test
874s ok 10 /unicode/combining-class
874s # Composing U+000041 and U+000042; expecting U+000000
874s # Composing U+000041 and U+000000; expecting U+000000
874s # Composing U+000066 and U+000069; expecting U+000000
874s # Composing U+000308 and U+000301; expecting U+000000
874s # Composing U+000f71 and U+000f72; expecting U+000000
874s # Composing U+00212b and U+000000; expecting U+000000
874s # Composing U+0000c5 and U+000000; expecting U+000000
874s # Composing U+002126 and U+000000; expecting U+000000
874s # Composing U+0003a9 and U+000000; expecting U+000000
874s # Composing U+000041 and U+00030a; expecting U+0000c5
874s # Composing U+00006f and U+000302; expecting U+0000f4
874s # Composing U+001e63 and U+000307; expecting U+001e69
874s # Composing U+000073 and U+000323; expecting U+001e63
874s # Composing U+000064 and U+000307; expecting U+001e0b
874s # Composing U+000064 and U+000323; expecting U+001e0d
874s # Composing U+00d4cc and U+0011b6; expecting U+00d4db
874s # Composing U+001111 and U+001171; expecting U+00d4cc
874s # Composing U+00ce20 and U+0011b8; expecting U+00ce31
874s # Composing U+00110e and U+001173; expecting U+00ce20
874s # Composing U+001100 and U+001160; expecting U+000000
874s # Composing U+001100 and U+001177; expecting U+000000
874s # Composing U+00abff and U+0011b6; expecting U+000000
874s # Composing U+00d7a5 and U+0011b6; expecting U+000000
874s # Composing U+00ac01 and U+0011b6; expecting U+000000
874s # Composing U+00d4cc and U+0011a6; expecting U+000000
874s # Composing U+00d4cc and U+0011c4; expecting U+000000
874s # Composing U+01611e and U+01611e; expecting U+016121
874s # Composing U+01611e and U+01611f; expecting U+016123
874s # Composing U+0000f6 and U+000304; expecting U+00022b
874s # Composing U+000b47 and U+000b57; expecting U+000b4c
874s # Composing U+0000a0 and U+000b57; expecting U+000000
874s # Composing U+016e00 and U+00030a; expecting U+000000
874s # Composing U+00212b and U+016e00; expecting U+000000
874s # Composing U+001e63 and U+000306; expecting U+000000
874s # Composing U+001e63 and U+000304; expecting U+000000
874s # Composing U+001e63 and U+000b57; expecting U+000000
874s # Composing U+001e63 and U+000000; expecting U+000000
874s # Composing U+001e63 and U+0113c2; expecting U+000000
874s # Composing U+001f01 and U+0113c2; expecting U+000000
874s # Composing U+00006e and U+000302; expecting U+000000
874s # Composing U+001e63 and U+01611f; expecting U+000000
874s # Composing U+01138e and U+0113b8; expecting U+000000
874s # Composing U+01611e and U+000000; expecting U+000000
874s # Composing U+000000 and U+01611f; expecting U+000000
874s # Composing U+011390 and U+0113c2; expecting U+000000
874s ok 11 /unicode/compose
874s ok 12 /unicode/decompose
874s ok 13 /unicode/decompose-tail
874s ok 14 /unicode/defined
874s ok 15 /unicode/digit
874s ok 16 /unicode/digit-value
874s # Fully decomposing U+000041; expecting 1 codepoints
874s # Fully decomposing U+00fb01; expecting 1 codepoints
874s # Fully decomposing U+00212b; expecting 2 codepoints
874s # Fully decomposing U+002126; expecting 1 codepoints
874s # Fully decomposing U+000344; expecting 2 codepoints
874s # Fully decomposing U+000f73; expecting 2 codepoints
874s # Fully decomposing U+0000c5; expecting 2 codepoints
874s # Fully decomposing U+0000f4; expecting 2 codepoints
874s # Fully decomposing U+001e69; expecting 3 codepoints
874s # Fully decomposing U+001e63; expecting 2 codepoints
874s # Fully decomposing U+001e0b; expecting 2 codepoints
874s # Fully decomposing U+001e0d; expecting 2 codepoints
874s # Fully decomposing U+00d4db; expecting 3 codepoints
874s # Fully decomposing U+00d4cc; expecting 2 codepoints
874s # Fully decomposing U+00ce31; expecting 3 codepoints
874s # Fully decomposing U+00ce20; expecting 2 codepoints
874s ok 17 /unicode/fully-decompose-canonical
874s ok 18 /unicode/fully-decompose-len
874s ok 19 /unicode/normalization
874s ok 20 /unicode/graph
874s # Testing script Zyyy (code 1517910393)
874s # Testing script Zinh (code 1516858984)
874s # Testing script Zmth (code 1517122664)
874s # Testing script Arab (code 1098015074)
874s # Testing script Armn (code 1098018158)
874s # Testing script Beng (code 1113943655)
874s # Testing script Bopo (code 1114599535)
874s # Testing script Cher (code 1130915186)
874s # Testing script Copt (code 1131376756)
874s # Testing script Cyrl (code 1132032620)
874s # Testing script Dsrt (code 1148416628)
874s # Testing script Deva (code 1147500129)
874s # Testing script Ethi (code 1165256809)
874s # Testing script Geor (code 1197830002)
874s # Testing script Goth (code 1198486632)
874s # Testing script Grek (code 1198679403)
874s # Testing script Gujr (code 1198877298)
874s # Testing script Guru (code 1198879349)
874s # Testing script Hani (code 1214344809)
874s # Testing script Hang (code 1214344807)
874s # Testing script Hebr (code 1214603890)
874s # Testing script Hira (code 1214870113)
874s # Testing script Knda (code 1265525857)
874s # Testing script Kana (code 1264676449)
874s # Testing script Khmr (code 1265134962)
874s # Testing script Laoo (code 1281453935)
874s # Testing script Latn (code 1281455214)
874s # Testing script Mlym (code 1298954605)
874s # Testing script Mong (code 1299148391)
874s # Testing script Mymr (code 1299803506)
874s # Testing script Ogam (code 1332175213)
874s # Testing script Ital (code 1232363884)
874s # Testing script Orya (code 1332902241)
874s # Testing script Runr (code 1383427698)
874s # Testing script Sinh (code 1399418472)
874s # Testing script Syrc (code 1400468067)
874s # Testing script Taml (code 1415671148)
874s # Testing script Telu (code 1415933045)
874s # Testing script Thaa (code 1416126817)
874s # Testing script Thai (code 1416126825)
874s # Testing script Tibt (code 1416192628)
874s # Testing script Cans (code 1130458739)
874s # Testing script Yiii (code 1500080489)
874s # Testing script Tglg (code 1416064103)
874s # Testing script Hano (code 1214344815)
874s # Testing script Buhd (code 1114990692)
874s # Testing script Tagb (code 1415669602)
874s # Testing script Brai (code 1114792297)
874s # Testing script Cprt (code 1131442804)
874s # Testing script Limb (code 1281977698)
874s # Testing script Osma (code 1332964705)
874s # Testing script Shaw (code 1399349623)
874s # Testing script Linb (code 1281977954)
874s # Testing script Tale (code 1415670885)
874s # Testing script Ugar (code 1432838514)
874s # Testing script Talu (code 1415670901)
874s # Testing script Bugi (code 1114990441)
874s # Testing script Glag (code 1198285159)
874s # Testing script Tfng (code 1415999079)
874s # Testing script Sylo (code 1400466543)
874s # Testing script Xpeo (code 1483761007)
874s # Testing script Khar (code 1265131890)
874s # Testing script Zzzz (code 1517976186)
874s # Testing script Bali (code 1113681001)
874s # Testing script Xsux (code 1483961720)
874s # Testing script Phnx (code 1349021304)
874s # Testing script Phag (code 1349017959)
874s # Testing script Nkoo (code 1315663727)
874s # Testing script Kali (code 1264675945)
874s # Testing script Lepc (code 1281716323)
874s # Testing script Rjng (code 1382706791)
874s # Testing script Sund (code 1400204900)
874s # Testing script Saur (code 1398895986)
874s # Testing script Cham (code 1130914157)
874s # Testing script Olck (code 1332503403)
874s # Testing script Vaii (code 1449224553)
874s # Testing script Cari (code 1130459753)
874s # Testing script Lyci (code 1283023721)
874s # Testing script Lydi (code 1283023977)
874s # Testing script Avst (code 1098281844)
874s # Testing script Bamu (code 1113681269)
874s # Testing script Egyp (code 1164409200)
874s # Testing script Armi (code 1098018153)
874s # Testing script Phli (code 1349020777)
874s # Testing script Prti (code 1349678185)
874s # Testing script Java (code 1247901281)
874s # Testing script Kthi (code 1265920105)
874s # Testing script Lisu (code 1281979253)
874s # Testing script Mtei (code 1299473769)
874s # Testing script Sarb (code 1398895202)
874s # Testing script Orkh (code 1332898664)
874s # Testing script Samr (code 1398893938)
874s # Testing script Lana (code 1281453665)
874s # Testing script Tavt (code 1415673460)
874s # Testing script Batk (code 1113683051)
874s # Testing script Brah (code 1114792296)
874s # Testing script Mand (code 1298230884)
874s # Testing script Cakm (code 1130457965)
874s # Testing script Merc (code 1298494051)
874s # Testing script Mero (code 1298494063)
874s # Testing script Plrd (code 1349284452)
874s # Testing script Shrd (code 1399353956)
874s # Testing script Sora (code 1399812705)
874s # Testing script Takr (code 1415670642)
874s # Testing script Bass (code 1113682803)
874s # Testing script Aghb (code 1097295970)
874s # Testing script Dupl (code 1148547180)
874s # Testing script Elba (code 1164730977)
874s # Testing script Gran (code 1198678382)
874s # Testing script Khoj (code 1265135466)
874s # Testing script Sind (code 1399418468)
874s # Testing script Lina (code 1281977953)
874s # Testing script Mahj (code 1298229354)
874s # Testing script Mani (code 1298230889)
874s # Testing script Mend (code 1298493028)
874s # Testing script Modi (code 1299145833)
874s # Testing script Mroo (code 1299345263)
874s # Testing script Nbat (code 1315070324)
874s # Testing script Narb (code 1315009122)
874s # Testing script Perm (code 1348825709)
874s # Testing script Hmng (code 1215131239)
874s # Testing script Palm (code 1348562029)
874s # Testing script Pauc (code 1348564323)
874s # Testing script Phlp (code 1349020784)
874s # Testing script Sidd (code 1399415908)
874s # Testing script Tirh (code 1416196712)
874s # Testing script Wara (code 1466004065)
874s # Testing script Ahom (code 1097363309)
874s # Testing script Hluw (code 1215067511)
874s # Testing script Hatr (code 1214346354)
874s # Testing script Mult (code 1299541108)
874s # Testing script Hung (code 1215655527)
874s # Testing script Sgnw (code 1399287415)
874s # Testing script Adlm (code 1097100397)
874s # Testing script Bhks (code 1114139507)
874s # Testing script Marc (code 1298231907)
874s # Testing script Newa (code 1315272545)
874s # Testing script Osge (code 1332963173)
874s # Testing script Tang (code 1415671399)
874s # Testing script Gonm (code 1198485101)
874s # Testing script Nshu (code 1316186229)
874s # Testing script Soyo (code 1399814511)
874s # Testing script Zanb (code 1516334690)
874s # Testing script Dogr (code 1148151666)
874s # Testing script Gong (code 1198485095)
874s # Testing script Rohg (code 1383032935)
874s # Testing script Maka (code 1298230113)
874s # Testing script Medf (code 1298490470)
874s # Testing script Sogo (code 1399809903)
874s # Testing script Sogd (code 1399809892)
874s # Testing script Elym (code 1164736877)
874s # Testing script Nand (code 1315008100)
874s # Testing script Hmnp (code 1215131248)
874s # Testing script Wcho (code 1466132591)
874s # Testing script Chrs (code 1130918515)
874s # Testing script Diak (code 1147756907)
874s # Testing script Kits (code 1265202291)
874s # Testing script Yezi (code 1499822697)
874s # Testing script Cpmn (code 1131441518)
874s # Testing script Ougr (code 1333094258)
874s # Testing script Tnsa (code 1416524641)
874s # Testing script Toto (code 1416590447)
874s # Testing script Vith (code 1449751656)
874s # Testing script Kawi (code 1264678761)
874s # Testing script Nagm (code 1315006317)
874s # Testing script Todr (code 1416586354)
874s # Testing script Gara (code 1197568609)
874s # Testing script Tutg (code 1416983655)
874s # Testing script Sunu (code 1400204917)
874s # Testing script Gukh (code 1198877544)
874s # Testing script Krai (code 1265787241)
874s # Testing script Onao (code 1332633967)
874s ok 21 /unicode/iso15924
874s ok 22 /unicode/lower
874s ok 23 /unicode/mark
874s ok 24 /unicode/mirror
874s ok 25 /unicode/print
874s ok 26 /unicode/punctuation
874s ok 27 /unicode/script
874s ok 28 /unicode/space
874s ok 29 /unicode/strdown
874s ok 30 /unicode/strup
874s ok 31 /unicode/turkish-strupdown
874s ok 32 /unicode/title
874s ok 33 /unicode/upper
874s ok 34 /unicode/validate
874s ok - glib/unicode.test
874s ok 35 /unicode/wide
874s ok 36 /unicode/xdigit
874s ok 37 /unicode/xdigit-value
874s ok 38 /unicode/zero-width
874s ok 39 /unicode/normalize
874s # End of unicode tests
874s # Running test: glib/fileattributematcher.test
874s TAP version 14
874s # random seed: R02S075a366d3687a50861d525b1e9790645
874s 1..3
874s # Start of fileattributematcher tests
874s ok 1 /fileattributematcher/exact
874s ok 2 /fileattributematcher/equality
874s ok - glib/fileattributematcher.test
874s # Running test: glib/filter-streams.test
874s # Executing: glib/filter-streams.test
874s ok - glib/filter-streams.test
874s ok 3 /fileattributematcher/subtract
874s # End of fileattributematcher tests
874s TAP version 14
874s # random seed: R02S83e714bf207391e7ef803aae33e9c515
874s 1..4
874s # Start of filter-stream tests
874s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
874s ok 1 /filter-stream/input
874s ok 2 /filter-stream/output
874s ok 3 /filter-stream/async-input
874s ok 4 /filter-stream/async-output
874s # End of filter-stream tests
874s # Running test: glib/utils-isolated.test
874s TAP version 14
874s # random seed: R02S6d39556c37c6f1c367dfdbc8e4fae13d
874s 1..11
874s # Start of utils-isolated tests
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/tmp-dir/.dirs/runtime
874s ok 1 /utils-isolated/tmp-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/home-dir/.dirs/runtime
874s ok 2 /utils-isolated/home-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-cache-dir/.dirs/runtime
874s ok 3 /utils-isolated/user-cache-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-config-dirs/.dirs/runtime
874s ok - glib/utils-isolated.test
874s # Running test: glib/throws.test
874s ok - glib/throws.test
874s # Running test: glib/task.test
874s ok 4 /utils-isolated/system-config-dirs
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-config-dir/.dirs/runtime
874s ok 5 /utils-isolated/user-config-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/system-data-dirs/.dirs/runtime
874s ok 6 /utils-isolated/system-data-dirs
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-data-dir/.dirs/runtime
874s ok 7 /utils-isolated/user-data-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-state-dir/.dirs/runtime
874s ok 8 /utils-isolated/user-state-dir
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/user-runtime-dir/.dirs/runtime
874s ok 9 /utils-isolated/user-runtime-dir
874s # Start of cleanup tests
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/runtime
874s Unable to clean up temporary directory /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
874s Unable to clean up temporary directory /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
874s Unable to clean up temporary directory /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/handles-errors: Directory not empty
874s ok 10 /utils-isolated/cleanup/handles-errors
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
874s Unable to clean up temporary directory /tmp/test_utils-isolated_VZRCK3/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
874s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
874s # End of cleanup tests
874s # End of utils-isolated tests
874s TAP version 14
874s # random seed: R02S9d987f387db4668a6df025f85758fa75
874s 1..3
874s # Start of throws tests
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ABXDK3/throws/invoke-gerror/.dirs/runtime
874s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
874s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
874s ok 1 /throws/invoke-gerror
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ABXDK3/throws/vfunc-can-throw-gerror/.dirs/runtime
874s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
874s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
874s ok 2 /throws/vfunc-can-throw-gerror
874s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/home
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/cache
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/system-config2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/config
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/system-data2
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/data
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/state
874s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_ABXDK3/throws/callback-can-throw-gerror/.dirs/runtime
874s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
874s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
874s ok 3 /throws/callback-can-throw-gerror
874s # End of throws tests
874s TAP version 14
874s # random seed: R02S2c78447bcf158b921f5860e0c791f3b9
874s 1..36
874s # Start of gtask tests
874s ok 1 /gtask/basic
874s ok 2 /gtask/error
874s ok 3 /gtask/error-literal
874s ok 4 /gtask/error-literal-from-variable
874s ok 5 /gtask/return-from-same-iteration
874s ok 6 /gtask/return-from-toplevel
874s ok 7 /gtask/return-from-anon-thread
874s ok 8 /gtask/return-from-wrong-thread
874s ok 9 /gtask/no-callback
874s ok 10 /gtask/report-error
874s ok 11 /gtask/priority
874s ok 12 /gtask/name
874s ok 13 /gtask/static-name
874s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
874s ok 14 /gtask/asynchronous-cancellation
874s ok 15 /gtask/check-cancellable
874s ok 16 /gtask/return-if-cancelled
874s ok 17 /gtask/run-in-thread
874s ok 18 /gtask/run-in-thread-sync
874s ok 19 /gtask/run-in-thread-priority
875s ok 20 /gtask/run-in-thread-nested
875s ok 21 /gtask/run-in-thread-overflow
875s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs
875s # GLib-GIO-DEBUG: GTask 0xc3a82322fd10 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
875s ok 22 /gtask/return-on-cancel
875s # GLib-GIO-DEBUG: GTask 0xc3a82322fea0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
875s # GLib-GIO-DEBUG: GTask 0xc3a8231c6100 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
875s ok 23 /gtask/return-on-cancel-sync
875s # GLib-GIO-DEBUG: GTask 0xc3a8231c5080 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
875s ok 24 /gtask/return-on-cancel-atomic
875s ok 25 /gtask/return-pointer
875s ok 26 /gtask/return-value
875s ok 27 /gtask/return-prefixed-error
875s ok 28 /gtask/object-keepalive
875s ok 29 /gtask/legacy-error
875s ok 30 /gtask/finalize-without-return
875s # Start of name tests
875s ok 31 /gtask/name/macro-wrapper
875s # End of name tests
875s # Start of return tests
875s ok 32 /gtask/return/error-first
875s ok - glib/task.test
875s # Running test: glib/spawn-multithreaded.test
875s ok 33 /gtask/return/value-first
875s # Start of in-idle tests
875s ok 34 /gtask/return/in-idle/error-first
875s ok 35 /gtask/return/in-idle/value-first
875s # End of in-idle tests
875s # End of return tests
875s # Start of attach-source tests
875s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source’s name if unset
875s ok 36 /gtask/attach-source/set-name
875s # End of attach-source tests
875s # End of gtask tests
875s TAP version 14
875s # random seed: R02S2a129771622c6063c2b2d8fecd1f58c4
875s 1..4
875s # Start of gthread tests
876s # Child 40018 (ttl 1) exited, status 0
877s # Child 40019 (ttl 2) exited, status 0
877s ok 1 /gthread/spawn-childs
877s # slow test /gthread/spawn-childs executed in 2.00 secs
877s # Created pid: 40023 (ttl 1)
877s # Created pid: 40024 (ttl 2)
878s # Child 40023 (ttl 1) exited, status 0
879s # Executing: glib/spawn-multithreaded.test
879s # Child 40024 (ttl 2) exited, status 0
879s ok 2 /gthread/spawn-childs-threads
879s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
879s ok 3 /gthread/spawn-sync
879s ok 4 /gthread/spawn-async
879s # End of gthread tests
879s ok - glib/spawn-multithreaded.test
879s # Running test: glib/unicode-normalize.test
879s TAP version 14
879s # random seed: R02S070e765ae6ca926cbabbcb270cf15194
879s 1..3
879s # Start of unicode tests
879s # Processing Part0 # Specific cases
879s # Processing Part1 # Character by character test
879s # Processing Part2 # Canonical Order Test
879s # Processing Part3 # PRI #29 Test
879s # Processing Part4 # Canonical closures (excluding Hangul)
879s # Processing Part5 # Chained primary composites
879s ok 1 /unicode/normalize
879s # Invalid UTF-8 vector 0
879s # Invalid UTF-8 vector 1
879s # Invalid UTF-8 vector 2
879s # Invalid UTF-8 vector 3
879s # Invalid UTF-8 vector 4
879s # Invalid UTF-8 vector 5
879s # Invalid UTF-8 vector 6
879s # Invalid UTF-8 vector 7
879s # Invalid UTF-8 vector 8
879s # Invalid UTF-8 vector 9
879s # Invalid UTF-8 vector 10
879s # Invalid UTF-8 vector 11
879s # Invalid UTF-8 vector 12
879s ok 2 /unicode/normalize-invalid
879s # Start of normalize tests
879s ok 3 /unicode/normalize/bad-length
879s # End of normalize tests
879s # End of unicode tests
879s ok - glib/unicode-normalize.test
879s # Running test: glib/option-argv0.test
879s TAP version 14
879s # random seed: R02S7c7dcf067f965ac6f6e466379b9dbc5c
879s 1..1
879s # Start of option tests
879s ok 1 /option/argv0
879s # End of option tests
879s ok - glib/option-argv0.test
879s # SUMMARY: total=332; passed=331; skipped=1; failed=0; user=175.0s; system=72.1s; maxrss=154776
880s autopkgtest [22:24:57]: test installed-tests: -----------------------]
881s installed-tests PASS
881s autopkgtest [22:24:58]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
881s autopkgtest [22:24:58]: test closure-refcount: preparing testbed
881s Reading package lists...
881s Building dependency tree...
881s Reading state information...
882s Solving dependencies...
882s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
883s autopkgtest [22:25:00]: test closure-refcount: [-----------------------
883s Running test: glib/closure-refcount.test
883s TAP version 14
883s # random seed: R02S72b3a8df33085da09ac02cb43f9186c6
883s 1..1
883s # Start of closure tests
883s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983)
883s # End of closure tests
883s PASS: glib/closure-refcount.test
883s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3332
883s autopkgtest [22:25:00]: test closure-refcount: -----------------------]
884s closure-refcount PASS
884s autopkgtest [22:25:01]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
884s autopkgtest [22:25:01]: test debugcontroller: preparing testbed
884s Reading package lists...
885s Building dependency tree...
885s Reading state information...
885s Solving dependencies...
885s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
886s autopkgtest [22:25:03]: test debugcontroller: [-----------------------
886s Running test: glib/debugcontroller.test
886s TAP version 14
886s # random seed: R02S808f693f72d5733151256f8771e78426
886s 1..3
886s # Start of debug-controller tests
886s # Start of dbus tests
886s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
886s # GLib-GIO-DEBUG: Debug output enabled
886s # GLib-GIO-DEBUG: Debug output disabled
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s ok 1 /debug-controller/dbus/basic
886s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s ok 2 /debug-controller/dbus/duplicate
886s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
886s # GLib-GIO-DEBUG: Debug output enabled
886s # GLib-GIO-DEBUG: Debug output disabled
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s ok 3 /debug-controller/dbus/properties
886s # End of dbus tests
886s # End of debug-controller tests
886s PASS: glib/debugcontroller.test
886s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6024
886s autopkgtest [22:25:03]: test debugcontroller: -----------------------]
887s autopkgtest [22:25:04]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
887s debugcontroller PASS
887s autopkgtest [22:25:04]: test gdbus-server-auth: preparing testbed
887s Reading package lists...
888s Building dependency tree...
888s Reading state information...
888s Solving dependencies...
888s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
889s autopkgtest [22:25:06]: test gdbus-server-auth: [-----------------------
889s Running test: glib/gdbus-server-auth.test
889s TAP version 14
889s # random seed: R02S6e0151042218188e609c35c1f1cc7360
889s 1..9
889s # Start of gdbus tests
889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/home
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/cache
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/system-config2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/config
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/system-data2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/data
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/state
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/.dirs/runtime
889s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-9JIBK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
889s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-9JIBK3/dbus-KvvcIQMn
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
889s ok 1 /gdbus/server-auth
889s # Start of server-auth tests
889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/home
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/cache
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/system-config2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/config
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/system-data2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/data
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/state
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/abstract/.dirs/runtime
889s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-R81HK3 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
889s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-R81HK3/dbus-SG3VbXuO
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
889s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
889s ok 2 /gdbus/server-auth/abstract
889s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/home
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/cache
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/system-config2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/config
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/system-data2
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/data
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/state
889s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/tcp/.dirs/runtime
889s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
889s # Connectable address: tcp:host=127.0.0.1,port=43077
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
889s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
889s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
889s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
889s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
889s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
889s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
890s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
890s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
890s ok 3 /gdbus/server-auth/tcp
890s # slow test /gdbus/server-auth/tcp executed in 0.86 secs
890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/home
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/cache
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/system-config2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/config
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/system-data2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/data
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/state
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/.dirs/runtime
890s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-OAG9J3 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
890s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-OAG9J3/dbus-JVCrnM6q
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
890s ok 4 /gdbus/server-auth/anonymous
890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/home
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/cache
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/system-config2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/config
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/system-data2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/data
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/state
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/.dirs/runtime
890s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-HM28J3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
890s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-HM28J3/dbus-L28LQkcG
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
890s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
890s ok 5 /gdbus/server-auth/external
890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/home
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/cache
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/system-config2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/config
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/system-data2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/data
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/state
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/.dirs/runtime
890s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-WDAAK3 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
890s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-WDAAK3/dbus-GyPV4T7h
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
890s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
890s ok 6 /gdbus/server-auth/sha1
890s # Start of anonymous tests
890s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/home
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/cache
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/config
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/data
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/state
890s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/anonymous/tcp/.dirs/runtime
890s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
890s # Connectable address: tcp:host=127.0.0.1,port=40489
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
890s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
890s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
890s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
890s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
890s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
891s ok 7 /gdbus/server-auth/anonymous/tcp
891s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs
891s # End of anonymous tests
891s # Start of external tests
891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/home
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/cache
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/system-config2
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/config
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/system-data2
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/data
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/state
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/external/require-same-user/.dirs/runtime
891s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-F8YCK3 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
891s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_MQIBK3/gdbus-server-auth-F8YCK3/dbus-EliYctCM
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 40595
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
891s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=40595,uid=1000,gid=1000
891s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 40595
891s ok 8 /gdbus/server-auth/external/require-same-user
891s # End of external tests
891s # Start of sha1 tests
891s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/home
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/cache
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/system-config2
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/config
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/system-data2
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/data
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/state
891s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_MQIBK3/gdbus/server-auth/sha1/tcp/.dirs/runtime
891s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
891s # Connectable address: tcp:host=127.0.0.1,port=39925
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
891s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
891s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
891s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
891s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
891s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
892s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
892s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
892s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
892s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
892s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
892s ok 9 /gdbus/server-auth/sha1/tcp
892s # slow test /gdbus/server-auth/sha1/tcp executed in 0.85 secs
892s # End of sha1 tests
892s # End of server-auth tests
892s # End of gdbus tests
892s PASS: glib/gdbus-server-auth.test
892s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=8012
892s autopkgtest [22:25:09]: test gdbus-server-auth: -----------------------]
893s gdbus-server-auth PASS
893s autopkgtest [22:25:10]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
893s autopkgtest [22:25:10]: test gdbus-threading: preparing testbed
893s Reading package lists...
893s Building dependency tree...
893s Reading state information...
894s Solving dependencies...
894s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
895s autopkgtest [22:25:12]: test gdbus-threading: [-----------------------
895s Running test: glib/gdbus-threading.test
895s TAP version 14
895s # random seed: R02Sd3d5ddf162e1ca1d84e5f5ca1e26a6cd
895s 1..3
895s # Start of gdbus tests
895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/home
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/cache
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/system-config2
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/config
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/system-data2
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/data
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/state
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_C7X4J3/gdbus/delivery-in-thread/.dirs/runtime
895s ok 1 /gdbus/delivery-in-thread
895s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/home
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/cache
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/system-config2
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/config
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/system-data2
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/data
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/state
895s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_C7X4J3/gdbus/method-calls-in-thread/.dirs/runtime
896s ok 2 /gdbus/method-calls-in-thread
896s # slow test /gdbus/method-calls-in-thread executed in 0.84 secs
896s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/home
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/cache
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/system-config2
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/config
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/system-data2
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/data
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/state
896s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_C7X4J3/gdbus/threaded-singleton/.dirs/runtime
896s # GLib-GIO-DEBUG: refcount of 0xead71c005dd0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
897s ok 3 /gdbus/threaded-singleton
897s # slow test /gdbus/threaded-singleton executed in 0.83 secs
897s # End of gdbus tests
897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
897s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
897s PASS: glib/gdbus-threading.test
897s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.3s; maxrss=6164
897s autopkgtest [22:25:14]: test gdbus-threading: -----------------------]
897s autopkgtest [22:25:14]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
897s gdbus-threading PASS
898s autopkgtest [22:25:15]: test gmenumodel: preparing testbed
898s Reading package lists...
898s Building dependency tree...
898s Reading state information...
898s Solving dependencies...
899s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
899s autopkgtest [22:25:16]: test gmenumodel: [-----------------------
900s Running test: glib/gmenumodel.test
900s TAP version 14
900s # random seed: R02Scb7d2085aadc63e96de073abfd059c91
900s 1..15
900s # Start of gmenu tests
900s ok 1 /gmenu/equality
900s # slow test /gmenu/equality executed in 0.52 secs
901s ok 2 /gmenu/random
901s # slow test /gmenu/random executed in 0.69 secs
901s ok 3 /gmenu/attributes
901s ok 4 /gmenu/links
901s ok 5 /gmenu/mutable
901s ok 6 /gmenu/convenience
901s ok 7 /gmenu/menuitem
901s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
901s ok 8 /gmenu/input-validation
901s # Start of dbus tests
902s ok 9 /gmenu/dbus/roundtrip
902s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
902s ok 10 /gmenu/dbus/subscriptions
903s ok 11 /gmenu/dbus/threaded
903s # slow test /gmenu/dbus/threaded executed in 0.73 secs
903s # Start of peer tests
904s ok 12 /gmenu/dbus/peer/roundtrip
904s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs
904s ok 13 /gmenu/dbus/peer/subscriptions
904s # End of peer tests
904s # Start of export tests
904s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
904s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
904s ok 14 /gmenu/dbus/export/error-handling
904s # End of export tests
904s # End of dbus tests
904s # Start of attributes tests
904s ok 15 /gmenu/attributes/iterate
904s # End of attributes tests
904s # End of gmenu tests
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s PASS: glib/gmenumodel.test
904s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.4s; system=0.2s; maxrss=27756
905s autopkgtest [22:25:22]: test gmenumodel: -----------------------]
905s autopkgtest [22:25:22]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
905s gmenumodel PASS
906s autopkgtest [22:25:23]: test mainloop: preparing testbed
906s Reading package lists...
907s Building dependency tree...
907s Reading state information...
907s Solving dependencies...
907s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
908s autopkgtest [22:25:25]: test mainloop: [-----------------------
908s Running test: glib/mainloop.test
908s TAP version 14
908s # random seed: R02S1b4d025260ff7de4c6042efe251ab06b
908s 1..47
908s # Start of maincontext tests
908s ok 1 /maincontext/basic
908s # Add same-priority sources: 18
908s # Find each source: 4
908s # Remove in random order: 43
908s ok 2 /maincontext/nsources_same_priority
908s # Add different-priority sources: 23
908s # Find each source: 4
908s # Remove in random order: 49
908s ok 3 /maincontext/nsources_different_priority
908s # Add sources from threads: 95
908s # Remove sources from threads: 63
908s ok 4 /maincontext/nsources_threadpool
908s ok 5 /maincontext/source_finalization
908s # /maincontext/idle-once summary: Test g_idle_add_once() works
908s ok 6 /maincontext/idle-once
908s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
908s ok 7 /maincontext/timeout-once
908s # /maincontext/context-ref-in-source-callbackfuncs-unref summary: Tests if calling GSource API in GSourceCallbackFuncs.unref does not deadlock attempting to retrieve the relevant GMainContext.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/3725
908s ok 8 /maincontext/context-ref-in-source-callbackfuncs-unref
908s # Start of source_finalization_from_source tests
908s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 9 /maincontext/source_finalization_from_source/0
908s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 10 /maincontext/source_finalization_from_source/1
908s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 11 /maincontext/source_finalization_from_source/2
908s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 12 /maincontext/source_finalization_from_source/3
908s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 13 /maincontext/source_finalization_from_source/4
908s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 14 /maincontext/source_finalization_from_source/5
908s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 15 /maincontext/source_finalization_from_source/6
908s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 16 /maincontext/source_finalization_from_source/7
908s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 17 /maincontext/source_finalization_from_source/8
908s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
908s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
908s ok 18 /maincontext/source_finalization_from_source/9
908s # End of source_finalization_from_source tests
908s # Start of source_finalization_from_dispatch tests
908s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
908s ok 19 /maincontext/source_finalization_from_dispatch/0
908s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
908s ok 20 /maincontext/source_finalization_from_dispatch/1
908s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
908s ok 21 /maincontext/source_finalization_from_dispatch/2
908s # End of source_finalization_from_dispatch tests
908s # End of maincontext tests
908s # Start of mainloop tests
908s ok 22 /mainloop/basic
908s ok 23 /mainloop/timeouts # SKIP Not running timing heavy test
908s ok 24 /mainloop/priorities
909s ok 25 /mainloop/invoke
909s # slow test /mainloop/invoke executed in 0.50 secs
910s ok 26 /mainloop/child_sources
910s # slow test /mainloop/child_sources executed in 1.19 secs
912s ok 27 /mainloop/recursive_child_sources
912s # slow test /mainloop/recursive_child_sources executed in 2.16 secs
912s ok 28 /mainloop/recursive_loop_child_sources
912s ok 29 /mainloop/swapping_child_sources
912s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
912s ok 30 /mainloop/blocked_child_sources
913s Executing: glib/mainloop.test
913s ok 31 /mainloop/source_time
913s # slow test /mainloop/source_time executed in 1.00 secs
913s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
913s ok 32 /mainloop/overflow
914s ok 33 /mainloop/ready-time
914s # slow test /mainloop/ready-time executed in 0.50 secs
914s ok 34 /mainloop/wakeup
914s ok 35 /mainloop/remove-invalid
914s ok 36 /mainloop/unref-while-pending
914s ok 37 /mainloop/unix-fd
914s # slow test /mainloop/unix-fd executed in 0.57 secs
914s ok 38 /mainloop/unix-fd-source
914s ok 39 /mainloop/source-unix-fd-api
915s ok 40 /mainloop/wait
915s ok 41 /mainloop/unix-file-poll
915s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
915s ok 42 /mainloop/unix-fd-priority
915s ok 43 /mainloop/nfds
915s ok 44 /mainloop/steal-fd
916s ok 45 /mainloop/simultaneous-source-context-destruction
916s # slow test /mainloop/simultaneous-source-context-destruction executed in 1.26 secs
916s # Start of ownerless-polling tests
916s ok 46 /mainloop/ownerless-polling/attach-first
916s ok 47 /mainloop/ownerless-polling/pop-first
916s # End of ownerless-polling tests
916s # End of mainloop tests
916s PASS: glib/mainloop.test
916s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.9s; system=2.2s; maxrss=16696
916s autopkgtest [22:25:33]: test mainloop: -----------------------]
917s autopkgtest [22:25:34]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
917s mainloop PASS
917s autopkgtest [22:25:34]: test memory-monitor-dbus: preparing testbed
917s Reading package lists...
918s Building dependency tree...
918s Reading state information...
918s Solving dependencies...
918s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
919s autopkgtest [22:25:36]: test memory-monitor-dbus: [-----------------------
919s Running test: glib/memory-monitor-dbus.test
919s TAP version 13
919s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
919s # Received memory warning signal, level 0
919s # Received memory warning signal, level 100
919s # Received memory warning signal, level 255
919s 1..1
919s PASS: glib/memory-monitor-dbus.test
919s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=30736
920s autopkgtest [22:25:37]: test memory-monitor-dbus: -----------------------]
920s autopkgtest [22:25:37]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
920s memory-monitor-dbus PASS
920s autopkgtest [22:25:37]: test socket: preparing testbed
921s Reading package lists...
921s Building dependency tree...
921s Reading state information...
921s Solving dependencies...
921s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
922s autopkgtest [22:25:39]: test socket: [-----------------------
922s Running test: glib/socket.test
922s TAP version 14
922s # random seed: R02S91be228fd2ee3472687c3d6c37a433b4
922s 1..30
922s # Start of socket tests
923s ok 1 /socket/ipv4_sync
923s # slow test /socket/ipv4_sync executed in 1.00 secs
924s ok 2 /socket/ipv4_async
924s # slow test /socket/ipv4_async executed in 1.00 secs
924s ok 3 /socket/ipv6_sync
924s ok 4 /socket/ipv6_async
924s ok 5 /socket/ipv6_v4mapped
925s ok 6 /socket/close_graceful
925s # slow test /socket/close_graceful executed in 1.00 secs
925s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
925s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
925s ok 8 /socket/fd_reuse
925s ok 9 /socket/address
925s ok 10 /socket/unix-from-fd
925s ok 11 /socket/unix-connection
925s ok 12 /socket/unix-connection-ancillary-data
925s ok 13 /socket/source-postmortem
925s ok 14 /socket/read_write
925s ok 15 /socket/read_writev
925s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
925s ok 16 /socket/receive_bytes
925s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
925s ok 17 /socket/receive_bytes_from
925s # Start of ipv4_sync tests
925s ok 18 /socket/ipv4_sync/datagram
925s # Start of datagram tests
926s ok 19 /socket/ipv4_sync/datagram/timeouts
926s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
926s # End of datagram tests
926s # End of ipv4_sync tests
926s # Start of ipv6_sync tests
926s ok 20 /socket/ipv6_sync/datagram
926s # Start of datagram tests
928s ok 21 /socket/ipv6_sync/datagram/timeouts
928s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
928s # End of datagram tests
928s # End of ipv6_sync tests
928s # Start of reuse tests
928s ok 22 /socket/reuse/tcp
928s ok 23 /socket/reuse/udp
928s # End of reuse tests
928s # Start of get_available tests
928s ok 24 /socket/get_available/datagram
928s ok 25 /socket/get_available/stream
928s # End of get_available tests
928s # Start of credentials tests
928s # Supported on this OS: GCredentials:linux-ucred:pid=0
928s ok 26 /socket/credentials/tcp_client
928s # Supported on this OS: GCredentials:linux-ucred:pid=0
928s ok 27 /socket/credentials/tcp_server
928s # Supported on this OS: GCredentials:linux-ucred:pid=66590,uid=1000,gid=1000
928s ok 28 /socket/credentials/unix_socketpair
928s # End of credentials tests
928s # Start of accept tests
928s # /socket/accept/cancelled summary: Calling g_socket_accept() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
928s ok 29 /socket/accept/cancelled
928s # End of accept tests
928s # Start of connect tests
928s # /socket/connect/cancelled summary: Calling g_socket_connect() with a cancelled cancellable should return immediately regardless of whether the socket is blocking
928s ok 30 /socket/connect/cancelled
928s # End of connect tests
928s # End of socket tests
928s PASS: glib/socket.test
928s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5584
928s autopkgtest [22:25:45]: test socket: -----------------------]
928s autopkgtest [22:25:45]: test socket: - - - - - - - - - - results - - - - - - - - - -
928s socket PASS
929s autopkgtest [22:25:46]: test testfilemonitor: preparing testbed
929s Reading package lists...
929s Building dependency tree...
929s Reading state information...
929s Solving dependencies...
930s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
930s autopkgtest [22:25:47]: test testfilemonitor: [-----------------------
931s Running test: glib/testfilemonitor.test
931s TAP version 14
931s # random seed: R02S97c84cc429ba6acb28581f27f2c61884
931s 1..8
931s # Start of monitor tests
931s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
931s # Using temporary directory: /tmp/gio-test-testfilemonitor_P7FLK3
931s # Using GFileMonitor GInotifyFileMonitor
933s ok 1 /monitor/atomic-replace
933s # slow test /monitor/atomic-replace executed in 2.00 secs
933s # Using temporary directory: /tmp/gio-test-testfilemonitor_5SDLK3
933s # Using GFileMonitor GInotifyFileMonitor
936s ok 2 /monitor/file-changes
936s # slow test /monitor/file-changes executed in 2.50 secs
936s # Using temporary directory: /tmp/gio-test-testfilemonitor_DQ1AK3
936s # Using GFileMonitor GInotifyFileMonitor
936s Executing: glib/testfilemonitor.test
939s ok 3 /monitor/dir-monitor
939s # slow test /monitor/dir-monitor executed in 3.50 secs
939s # Using temporary directory: /tmp/gio-test-testfilemonitor_ITBLK3
939s # Using GFileMonitor GInotifyFileMonitor
941s Executing: glib/testfilemonitor.test
946s Executing: glib/testfilemonitor.test
951s Executing: glib/testfilemonitor.test
956s Executing: glib/testfilemonitor.test
966s Executing: glib/testfilemonitor.test
966s ok 4 /monitor/dir-not-existent
966s # slow test /monitor/dir-not-existent executed in 25.00 secs
966s # Using temporary directory: /tmp/gio-test-testfilemonitor_X87KK3
966s # Using GFileMonitor 0 GInotifyFileMonitor
966s # Using GFileMonitor 1 GInotifyFileMonitor
966s ok 5 /monitor/cross-dir-moves
966s # slow test /monitor/cross-dir-moves executed in 2.00 secs
966s # Using temporary directory: /tmp/gio-test-testfilemonitor_OY5KK3
966s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn’t cause a deadlock.
966s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
966s ok 6 /monitor/finalize-in-callback
966s # Using temporary directory: /tmp/gio-test-testfilemonitor_0E3KK3
966s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
966s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
966s ok 7 /monitor/root
966s # Start of file tests
966s # Using temporary directory: /tmp/gio-test-testfilemonitor_3V2KK3
966s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
966s # Running with hard link tests
966s # Using GFileMonitor GInotifyFileMonitor
966s Executing: glib/testfilemonitor.test
969s # Event 0 at expected index 7 skipped because it is marked as optional
969s # Event 2 at expected index 11 skipped because it is marked as optional
969s ok 8 /monitor/file/hard-links
969s # slow test /monitor/file/hard-links executed in 3.50 secs
969s # End of file tests
969s # End of monitor tests
969s PASS: glib/testfilemonitor.test
969s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5732
970s autopkgtest [22:26:27]: test testfilemonitor: -----------------------]
970s testfilemonitor PASS
970s autopkgtest [22:26:27]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
970s autopkgtest [22:26:27]: test thread-pool-slow: preparing testbed
971s Reading package lists...
971s Building dependency tree...
971s Reading state information...
971s Solving dependencies...
971s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
973s autopkgtest [22:26:30]: test thread-pool-slow: [-----------------------
973s Running test: glib/thread-pool-slow.test
973s TAP version 14
973s # random seed: R02S83eab6fb4e3b89df57e9018277b97bb5
973s 1..7
973s # Start of threadpool tests
973s ok 1 /threadpool/functions
973s ok 2 /threadpool/stop-unused
973s # slow test /threadpool/stop-unused executed in 0.51 secs
973s ok 3 /threadpool/pools
973s # [unsorted] ===> pushed new thread with id:80, number of threads:1, unprocessed:1
973s # [unsorted] ===> pushed new thread with id:12, number of threads:2, unprocessed:2
973s # [unsorted] ===> pushed new thread with id:49, number of threads:3, unprocessed:3
973s # [unsorted] ===> pushed new thread with id:71, number of threads:4, unprocessed:4
973s # [unsorted] ===> pushed new thread with id:12, number of threads:5, unprocessed:5
973s # [unsorted] ===> pushed new thread with id:25, number of threads:6, unprocessed:6
973s # [unsorted] ===> pushed new thread with id:88, number of threads:7, unprocessed:7
973s # [unsorted] ===> pushed new thread with id:72, number of threads:8, unprocessed:0
973s # [unsorted] ===> pushed new thread with id:64, number of threads:9, unprocessed:1
973s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:1
973s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:1
973s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:2
973s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:3
973s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:4
973s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:5
973s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:6
973s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:7
973s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:8
973s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:9
973s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:10
973s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:11
973s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:12
973s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:13
973s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:14
973s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:15
973s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:16
973s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:17
973s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:18
973s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:19
973s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:20
973s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:21
973s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:22
973s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:23
973s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:24
973s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:25
973s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:26
973s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:27
973s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:28
973s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:29
973s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:30
973s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:31
973s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:32
973s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:33
973s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:34
973s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:35
973s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:36
973s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:37
973s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:38
973s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:39
973s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:40
973s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:41
973s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:42
973s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:43
973s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:44
973s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:45
973s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:46
973s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:47
973s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:48
973s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:49
973s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:50
973s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:51
973s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:52
973s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:53
973s # [unsorted] ===> pushed new thread with id:96, number of threads:10, unprocessed:54
973s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:55
973s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:56
973s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:57
973s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:58
973s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:59
973s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:60
973s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:61
973s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:62
973s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:63
973s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:64
973s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:65
973s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:66
973s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:67
973s # [unsorted] ===> pushed new thread with id:38, number of threads:10, unprocessed:68
973s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:69
973s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:70
973s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:71
973s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:72
973s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:73
973s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:74
973s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:75
973s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:76
973s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:77
973s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:78
973s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:79
973s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:80
973s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:81
973s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:82
973s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:83
973s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:84
973s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:85
973s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:86
973s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:87
973s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:88
973s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:89
973s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:90
973s ok 4 /threadpool/no-sort
973s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:1
973s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:2
973s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:3
973s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:4
973s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:5
973s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:6
973s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:7
973s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:8
973s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:9
973s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:10
973s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:11
973s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:12
973s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:13
973s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:14
973s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:15
973s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:16
973s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:17
973s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:18
973s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:19
973s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:20
973s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:21
973s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:22
973s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:23
973s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:24
973s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:25
973s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:26
973s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:27
973s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:28
973s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:29
973s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:30
973s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:31
973s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:32
973s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:33
973s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:34
973s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:35
973s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:36
973s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:37
973s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:38
973s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:39
973s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:40
973s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:41
973s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:42
973s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:43
973s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:44
973s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:45
973s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:46
973s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:47
973s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:48
973s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:49
973s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:50
973s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:51
973s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:52
973s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:53
973s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:54
973s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:55
973s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:56
973s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:57
973s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:58
973s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:59
973s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:60
973s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:61
973s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:62
973s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:63
973s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:64
973s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:65
973s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:66
973s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:67
973s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:68
973s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:69
973s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:70
973s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:71
973s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:72
973s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:73
973s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:74
973s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:75
973s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:76
973s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:77
973s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:78
973s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:79
973s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:80
973s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:81
973s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:82
973s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:83
973s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:84
973s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:85
973s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:86
973s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:87
973s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:88
973s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:89
973s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:90
973s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:91
973s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:92
973s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:93
973s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:94
973s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:95
973s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:96
973s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:97
973s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:98
973s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:99
973s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:100
973s # Starting thread pool processing
973s ok 5 /threadpool/sort
974s ok 6 /threadpool/stop-unused-multiple
974s # slow test /threadpool/stop-unused-multiple executed in 0.50 secs
974s # Pool idle thread count: 0, unprocessed jobs: 50
974s # Pool idle thread count: 0, unprocessed jobs: 0
974s # Pool idle thread count: 0, unprocessed jobs: 0
975s # Pool idle thread count: 10, unprocessed jobs: 0
975s # Pool idle thread count: 10, unprocessed jobs: 0
975s # Pool idle thread count: 10, unprocessed jobs: 0
975s # Pool idle thread count: 10, unprocessed jobs: 0
976s # Pool idle thread count: 10, unprocessed jobs: 0
976s # Pool idle thread count: 10, unprocessed jobs: 0
976s # Pool idle thread count: 10, unprocessed jobs: 0
976s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s Executing: glib/thread-pool-slow.test
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
979s # Pool idle thread count: 10, unprocessed jobs: 0
980s # Pool idle thread count: 10, unprocessed jobs: 0
980s # Pool idle thread count: 10, unprocessed jobs: 0
980s # Pool idle thread count: 10, unprocessed jobs: 0
980s # Pool idle thread count: 10, unprocessed jobs: 0
981s # Pool idle thread count: 10, unprocessed jobs: 0
981s # Pool idle thread count: 10, unprocessed jobs: 0
981s # Pool idle thread count: 10, unprocessed jobs: 0
981s # Pool idle thread count: 10, unprocessed jobs: 0
982s # Pool idle thread count: 10, unprocessed jobs: 0
982s # Pool idle thread count: 10, unprocessed jobs: 0
982s # Pool idle thread count: 10, unprocessed jobs: 0
982s # Pool idle thread count: 10, unprocessed jobs: 0
983s Executing: glib/thread-pool-slow.test
983s # Pool idle thread count: 10, unprocessed jobs: 2
983s # Pool idle thread count: 10, unprocessed jobs: 2
983s # Pool idle thread count: 8, unprocessed jobs: 0
983s # Pool idle thread count: 8, unprocessed jobs: 0
983s # Pool idle thread count: 10, unprocessed jobs: 0
983s # Pool idle thread count: 10, unprocessed jobs: 0
984s # Pool idle thread count: 10, unprocessed jobs: 0
984s # Pool idle thread count: 10, unprocessed jobs: 0
984s # Pool idle thread count: 10, unprocessed jobs: 0
984s # Pool idle thread count: 10, unprocessed jobs: 0
985s # Pool idle thread count: 2, unprocessed jobs: 0
985s # Pool idle thread count: 2, unprocessed jobs: 0
985s # Pool idle thread count: 2, unprocessed jobs: 0
985s # Pool idle thread count: 2, unprocessed jobs: 0
986s # Pool idle thread count: 2, unprocessed jobs: 0
986s # Pool idle thread count: 2, unprocessed jobs: 0
986s # Pool idle thread count: 2, unprocessed jobs: 0
986s # Pool idle thread count: 2, unprocessed jobs: 0
987s # Pool idle thread count: 2, unprocessed jobs: 0
987s # Pool idle thread count: 2, unprocessed jobs: 0
987s # Pool idle thread count: 2, unprocessed jobs: 0
987s # Pool idle thread count: 2, unprocessed jobs: 0
988s Executing: glib/thread-pool-slow.test
988s # Pool idle thread count: 2, unprocessed jobs: 0
988s # Pool idle thread count: 2, unprocessed jobs: 0
988s # Pool idle thread count: 2, unprocessed jobs: 0
988s # Pool idle thread count: 2, unprocessed jobs: 0
989s # Pool idle thread count: 2, unprocessed jobs: 0
989s # Pool idle thread count: 2, unprocessed jobs: 0
989s # Pool idle thread count: 2, unprocessed jobs: 0
989s # Pool idle thread count: 2, unprocessed jobs: 0
990s # Pool idle thread count: 2, unprocessed jobs: 0
990s # Pool idle thread count: 2, unprocessed jobs: 0
990s # Pool idle thread count: 2, unprocessed jobs: 0
990s # Pool idle thread count: 2, unprocessed jobs: 0
991s # Pool idle thread count: 2, unprocessed jobs: 0
991s # Pool idle thread count: 2, unprocessed jobs: 0
991s # Pool idle thread count: 2, unprocessed jobs: 0
991s # Pool idle thread count: 2, unprocessed jobs: 0
992s # Pool idle thread count: 2, unprocessed jobs: 0
992s # Pool idle thread count: 2, unprocessed jobs: 0
992s # Pool idle thread count: 2, unprocessed jobs: 0
992s # Pool idle thread count: 2, unprocessed jobs: 0
993s Executing: glib/thread-pool-slow.test
993s # Pool idle thread count: 2, unprocessed jobs: 0
993s # Pool idle thread count: 2, unprocessed jobs: 0
993s ok 7 /threadpool/idle-time
993s # slow test /threadpool/idle-time executed in 19.52 secs
993s # End of threadpool tests
993s PASS: glib/thread-pool-slow.test
993s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.0s; maxrss=3744
994s autopkgtest [22:26:51]: test thread-pool-slow: -----------------------]
994s autopkgtest [22:26:51]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
994s thread-pool-slow PASS
995s autopkgtest [22:26:52]: test threadtests: preparing testbed
995s Reading package lists...
995s Building dependency tree...
995s Reading state information...
995s Solving dependencies...
996s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
996s autopkgtest [22:26:53]: test threadtests: [-----------------------
997s Running test: glib/threadtests.test
997s TAP version 14
997s # random seed: R02Sdf25b528f61158c88bb121252a620d17
997s 1..5
997s # Start of GObject tests
997s ok 1 /GObject/threaded-object-init
997s ok 2 /GObject/threaded-weak-ref
997s # slow test /GObject/threaded-weak-ref executed in 0.67 secs
997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
997s # /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
997s ok 3 /GObject/threaded-toggle-notify
997s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
997s # Start of threaded-weak-ref tests
997s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
997s # /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.
997s ok 5 /GObject/threaded-weak-ref/on-finalization
997s # End of threaded-weak-ref tests
997s # End of GObject tests
997s PASS: glib/threadtests.test
997s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.4s; maxrss=3584
998s autopkgtest [22:26:55]: test threadtests: -----------------------]
998s autopkgtest [22:26:55]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
998s threadtests PASS
998s autopkgtest [22:26:55]: test timeout: preparing testbed
999s Reading package lists...
999s Building dependency tree...
999s Reading state information...
999s Solving dependencies...
999s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1000s autopkgtest [22:26:57]: test timeout: [-----------------------
1000s Running test: glib/timeout.test
1000s TAP version 14
1000s # random seed: R02S5f3cb7b04b95301643f585a58376b3b0
1000s 1..5
1000s # Start of timeout tests
1000s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1003s ok 1 /timeout/seconds
1003s # slow test /timeout/seconds executed in 2.10 secs
1005s ok 2 /timeout/seconds-once
1005s # slow test /timeout/seconds-once executed in 2.10 secs
1005s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1006s Executing: glib/timeout.test
1007s ok 3 /timeout/weeks-overflow
1007s # slow test /timeout/weeks-overflow executed in 2.10 secs
1007s ok 4 /timeout/far-future-ready-time
1011s Executing: glib/timeout.test
1016s Executing: glib/timeout.test
1017s ok 5 /timeout/rounding
1017s # slow test /timeout/rounding executed in 10.18 secs
1017s # End of timeout tests
1017s PASS: glib/timeout.test
1017s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2952
1017s autopkgtest [22:27:14]: test timeout: -----------------------]
1018s autopkgtest [22:27:15]: test timeout: - - - - - - - - - - results - - - - - - - - - -
1018s timeout PASS
1018s autopkgtest [22:27:15]: test timer: preparing testbed
1018s Reading package lists...
1018s Building dependency tree...
1018s Reading state information...
1019s Solving dependencies...
1019s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1020s autopkgtest [22:27:17]: test timer: [-----------------------
1020s Running test: glib/timer.test
1020s TAP version 14
1020s # random seed: R02Sebedca54c7414ba0e60de44e07a02c88
1020s 1..10
1020s # Start of timer tests
1020s ok 1 /timer/basic
1020s ok 2 /timer/stop
1020s ok 3 /timer/continue
1020s ok 4 /timer/reset
1020s ok 5 /timer/is_active
1020s # End of timer tests
1020s # Start of timeval tests
1020s ok 6 /timeval/add
1020s ok 7 /timeval/from-iso8601
1020s ok 8 /timeval/to-iso8601
1020s # Start of to-iso8601 tests
1020s ok 9 /timeval/to-iso8601/overflow
1020s # End of to-iso8601 tests
1020s # End of timeval tests
1020s # Start of usleep tests
1020s ok 10 /usleep/with-zero-wait
1020s # End of usleep tests
1020s PASS: glib/timer.test
1020s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2976
1020s autopkgtest [22:27:17]: test timer: -----------------------]
1021s timer PASS
1021s autopkgtest [22:27:18]: test timer: - - - - - - - - - - results - - - - - - - - - -
1021s autopkgtest [22:27:18]: test 1065022-futureproofing: preparing testbed
1041s Creating nova instance adt-resolute-arm64-glib2.0-20260203-215241-juju-7f2275-prod-proposed-migration-environment-20-e9932f5c-a003-4ef7-a835-f448042fcf32 from image adt/ubuntu-resolute-arm64-server-20260203.img (UUID fd4bac28-a946-4216-8755-72db0faf84da)...
1102s autopkgtest [22:28:39]: testbed dpkg architecture: arm64
1102s autopkgtest [22:28:39]: testbed apt version: 3.1.14
1102s autopkgtest [22:28:39]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1102s autopkgtest [22:28:39]: testbed release detected to be: resolute
1103s autopkgtest [22:28:40]: updating testbed package index (apt update)
1103s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB]
1103s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
1103s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
1103s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
1103s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [27.9 kB]
1104s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1337 kB]
1104s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [232 kB]
1104s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5260 B]
1104s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [293 kB]
1104s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 c-n-f Metadata [7048 B]
1104s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [52.9 kB]
1104s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 c-n-f Metadata [328 B]
1104s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [1188 kB]
1104s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 c-n-f Metadata [31.5 kB]
1104s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [21.5 kB]
1104s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 c-n-f Metadata [744 B]
1108s Fetched 3322 kB in 1s (3898 kB/s)
1108s Reading package lists...
1108s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease
1109s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease
1109s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease
1109s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease
1109s Reading package lists...
1109s Reading package lists...
1110s Building dependency tree...
1110s Reading state information...
1110s Calculating upgrade...
1110s The following packages will be upgraded:
1110s firmware-sof-signed libpcre2-8-0 libzstd1 mtd-utils powermgmt-base zstd
1111s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1111s Need to get 3280 kB of archives.
1111s After this operation, 2048 B of additional disk space will be used.
1111s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 firmware-sof-signed all 2025.05.1-1build1 [1696 kB]
1112s Get:2 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 libpcre2-8-0 arm64 10.46-1build1 [237 kB]
1112s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libzstd1 arm64 1.5.7+dfsg-3 [277 kB]
1112s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 powermgmt-base all 1.38ubuntu2 [7878 B]
1112s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 zstd arm64 1.5.7+dfsg-3 [596 kB]
1113s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 mtd-utils arm64 1:2.3.0-1ubuntu2 [466 kB]
1113s dpkg-preconfigure: unable to re-open stdin: No such file or directory
1113s Fetched 3280 kB in 2s (1488 kB/s)
1113s (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 ... 89360 files and directories currently installed.)
1113s Preparing to unpack .../firmware-sof-signed_2025.05.1-1build1_all.deb ...
1113s Unpacking firmware-sof-signed (2025.05.1-1build1) over (2025.05.1-1) ...
1114s Preparing to unpack .../libpcre2-8-0_10.46-1build1_arm64.deb ...
1114s Unpacking libpcre2-8-0:arm64 (10.46-1build1) over (10.46-1) ...
1114s Setting up libpcre2-8-0:arm64 (10.46-1build1) ...
1114s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89360 files and directories currently installed.)
1114s Preparing to unpack .../libzstd1_1.5.7+dfsg-3_arm64.deb ...
1114s Unpacking libzstd1:arm64 (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
1114s Setting up libzstd1:arm64 (1.5.7+dfsg-3) ...
1114s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89360 files and directories currently installed.)
1114s Preparing to unpack .../powermgmt-base_1.38ubuntu2_all.deb ...
1114s Unpacking powermgmt-base (1.38ubuntu2) over (1.38ubuntu1) ...
1114s Preparing to unpack .../zstd_1.5.7+dfsg-3_arm64.deb ...
1114s Unpacking zstd (1.5.7+dfsg-3) over (1.5.7+dfsg-2) ...
1114s Preparing to unpack .../mtd-utils_1%3a2.3.0-1ubuntu2_arm64.deb ...
1114s Unpacking mtd-utils (1:2.3.0-1ubuntu2) over (1:2.3.0-1ubuntu1) ...
1114s Setting up powermgmt-base (1.38ubuntu2) ...
1114s Setting up firmware-sof-signed (2025.05.1-1build1) ...
1114s Setting up mtd-utils (1:2.3.0-1ubuntu2) ...
1114s Setting up zstd (1.5.7+dfsg-3) ...
1114s Processing triggers for man-db (2.13.1-1) ...
1115s Processing triggers for libselinux1:arm64 (3.9-4) ...
1115s Processing triggers for libc-bin (2.42-2ubuntu4) ...
1115s autopkgtest [22:28:52]: upgrading testbed (apt dist-upgrade and autopurge)
1115s Reading package lists...
1115s Building dependency tree...
1115s Reading state information...
1116s Calculating upgrade...
1116s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1116s Reading package lists...
1117s Building dependency tree...
1117s Reading state information...
1117s Solving dependencies...
1117s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1120s Reading package lists...
1120s Building dependency tree...
1120s Reading state information...
1121s Solving dependencies...
1121s The following NEW packages will be installed:
1121s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
1121s libdconf1
1122s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1122s Need to get 140 kB of archives.
1122s After this operation, 703 kB of additional disk space will be used.
1122s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libdconf1 arm64 0.49.0-4 [40.9 kB]
1122s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-service arm64 0.49.0-4 [27.2 kB]
1122s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 dconf-gsettings-backend arm64 0.49.0-4 [22.0 kB]
1122s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 dpkg-repack all 1.54build1 [11.2 kB]
1122s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 gsettings-desktop-schemas all 50~alpha-1ubuntu1 [38.9 kB]
1122s Fetched 140 kB in 1s (152 kB/s)
1122s Selecting previously unselected package libdconf1:arm64.
1122s (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 ... 89360 files and directories currently installed.)
1122s Preparing to unpack .../libdconf1_0.49.0-4_arm64.deb ...
1122s Unpacking libdconf1:arm64 (0.49.0-4) ...
1122s Selecting previously unselected package dconf-service.
1122s Preparing to unpack .../dconf-service_0.49.0-4_arm64.deb ...
1122s Unpacking dconf-service (0.49.0-4) ...
1122s Selecting previously unselected package dconf-gsettings-backend:arm64.
1122s Preparing to unpack .../dconf-gsettings-backend_0.49.0-4_arm64.deb ...
1122s Unpacking dconf-gsettings-backend:arm64 (0.49.0-4) ...
1122s Selecting previously unselected package dpkg-repack.
1122s Preparing to unpack .../dpkg-repack_1.54build1_all.deb ...
1122s Unpacking dpkg-repack (1.54build1) ...
1122s Selecting previously unselected package gsettings-desktop-schemas.
1122s Preparing to unpack .../gsettings-desktop-schemas_50~alpha-1ubuntu1_all.deb ...
1122s Unpacking gsettings-desktop-schemas (50~alpha-1ubuntu1) ...
1122s Setting up dpkg-repack (1.54build1) ...
1122s Setting up libdconf1:arm64 (0.49.0-4) ...
1122s Setting up dconf-service (0.49.0-4) ...
1122s Setting up dconf-gsettings-backend:arm64 (0.49.0-4) ...
1122s Setting up gsettings-desktop-schemas (50~alpha-1ubuntu1) ...
1122s Processing triggers for man-db (2.13.1-1) ...
1123s Processing triggers for libglib2.0-0t64:arm64 (2.86.3-4) ...
1123s Processing triggers for libc-bin (2.42-2ubuntu4) ...
1139s autopkgtest [22:29:16]: test 1065022-futureproofing: [-----------------------
1139s + export DEBIAN_FRONTEND=noninteractive
1139s + n=0
1139s + failed=0
1139s + binary_package=libglib2.0-0t64
1139s + future_binary_package=libglib2.0-0xyz
1139s + pwd
1139s + srcdir=/tmp/autopkgtest.o1fVkR/build.GfX/src
1139s + mktemp -d
1139s + tmpdir=/tmp/tmp.7FjsBSa8gG
1139s + cd /tmp/tmp.7FjsBSa8gG
1139s + exec
1139s + [ -e /tmp/autopkgtest.o1fVkR/build.GfX/src/debian/tests/manual/local-1065022.sources ]
1139s + dpkg-query -W dpkg-repack
1139s dpkg-repack 1.54build1
1139s + dpkg-query -s libglib2.0-0t64
1139s Package: libglib2.0-0t64
1139s Status: install ok installed
1139s Priority: important
1139s Section: libs
1139s Installed-Size: 4802
1139s Maintainer: Ubuntu Developers
1139s Architecture: arm64
1139s Multi-Arch: same
1139s Source: glib2.0
1139s Version: 2.86.3-4
1139s Replaces: libglib2.0-0 (<< 2.80.0-7~)
1139s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4)
1139s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2)
1139s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs
1139s Suggests: low-memory-monitor
1139s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~)
1139s Description: GLib library of C routines
1139s GLib is a library containing many useful C routines for things such
1139s as trees, hashes, lists, and strings. It is a useful general-purpose
1139s C library used by projects such as GTK+, GIMP, and GNOME.
1139s .
1139s This package contains the shared libraries.
1139s Original-Maintainer: Debian GNOME Maintainers
1139s Homepage: https://gitlab.gnome.org/GNOME/glib
1139s + dpkg-query -W -f ${Version} libglib2.0-0t64
1139s + binary_version=2.86.3-4
1139s + dpkg-repack --generate libglib2.0-0t64
1139s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
1139s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.wrZQsC for libglib2.0-0t64
1139s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.wrZQsC ."
1139s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.wrZQsC/DEBIAN/control
1139s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.wrZQsC/DEBIAN/control
1139s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.wrZQsC/DEBIAN/control
1139s + env binary_package=libglib2.0-0t64 binary_version=2.86.3-4 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} (= $ENV{binary_version})/; -e s/^(Replaces:.*)$/$1, $ENV{binary_package}/; dpkg-repack.libglib2.0-0t64.wrZQsC/DEBIAN/control
1139s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.wrZQsC libglib2.0-0xyz.deb
1139s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
1141s + dpkg-deb --info libglib2.0-0xyz.deb
1141s new Debian package, version 2.0.
1141s size 1584402 bytes: control archive=25781 bytes.
1141s 1218 bytes, 24 lines control
1141s 1152 bytes, 14 lines md5sums
1141s 1296 bytes, 44 lines * postinst #!/bin/sh
1141s 2578 bytes, 87 lines * postrm #!/bin/sh
1141s 2408 bytes, 53 lines * preinst #!/bin/sh
1141s 466 bytes, 10 lines shlibs
1141s 172677 bytes, 4529 lines symbols
1141s 172 bytes, 4 lines triggers
1141s Package: libglib2.0-0xyz
1141s Source: glib2.0
1141s Version: 2.86.3-4
1141s Architecture: arm64
1141s Maintainer: Ubuntu Developers
1141s Installed-Size: 4802
1141s Depends: libatomic1 (>= 4.8), libc6 (>= 2.38), libffi8 (>= 3.4), libmount1 (>= 2.40~rc2), libpcre2-8-0 (>= 10.22), libselinux1 (>= 3.1~), zlib1g (>= 1:1.2.2)
1141s Recommends: libglib2.0-data, shared-mime-info, xdg-user-dirs
1141s Suggests: low-memory-monitor
1141s Breaks: gnome-shell (<< 44.9-2~), libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64
1141s Replaces: libglib2.0-0 (<< 2.80.0-7~), libglib2.0-0t64
1141s Provides: libgio-2.0-0 (= 2.86.3-4), libglib-2.0-0 (= 2.86.3-4), libglib2.0-0 (= 2.86.3-4), libgmodule-2.0-0 (= 2.86.3-4), libgobject-2.0-0 (= 2.86.3-4), libgthread-2.0-0 (= 2.86.3-4), libglib2.0-0t64 (= 2.86.3-4)
1141s Section: libs
1141s Priority: important
1141s Multi-Arch: same
1141s Homepage: https://gitlab.gnome.org/GNOME/glib
1141s Description: GLib library of C routines
1141s GLib is a library containing many useful C routines for things such
1141s as trees, hashes, lists, and strings. It is a useful general-purpose
1141s C library used by projects such as GTK+, GIMP, and GNOME.
1141s .
1141s This package contains the shared libraries.
1141s .
1141s (Repackaged on Tue, 03 Feb 2026 22:29:16 +0000 by dpkg-repack.)
1141s + dpkg-deb --contents libglib2.0-0xyz.deb
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/lib/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/lib/aarch64-linux-gnu/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/lib/aarch64-linux-gnu/gio/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/lib/aarch64-linux-gnu/gio/modules/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/lib/aarch64-linux-gnu/glib-2.0/
1141s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-launch-desktop
1141s -rwxr-xr-x root/root 67832 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/gio-querymodules
1141s -rwxr-xr-x root/root 67872 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/glib-2.0/glib-compile-schemas
1141s -rw-r--r-- root/root 2100648 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0.8600.3
1141s -rw-r--r-- root/root 1445536 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0.8600.3
1141s -rw-r--r-- root/root 67720 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0.8600.3
1141s -rw-r--r-- root/root 461096 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0.8600.3
1141s -rw-r--r-- root/root 67680 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0.8600.3
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/doc/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/doc/libglib2.0-0t64/
1141s -rw-r--r-- root/root 258310 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/NEWS.gz
1141s -rw-r--r-- root/root 1703 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/README.Debian
1141s -rw-r--r-- root/root 3248 2025-12-08 15:46 ./usr/share/doc/libglib2.0-0t64/README.md
1141s -rw-r--r-- root/root 39086 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/changelog.Debian.gz
1141s -rw-r--r-- root/root 55103 2026-01-01 12:59 ./usr/share/doc/libglib2.0-0t64/copyright
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/glib-2.0/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/glib-2.0/schemas/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/lintian/
1141s drwxr-xr-x root/root 0 2026-02-03 22:29 ./usr/share/lintian/overrides/
1141s -rw-r--r-- root/root 520 2026-01-01 12:59 ./usr/share/lintian/overrides/libglib2.0-0t64
1141s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgio-2.0.so.0 -> libgio-2.0.so.0.8600.3
1141s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libglib-2.0.so.0 -> libglib-2.0.so.0.8600.3
1141s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.8600.3
1141s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgobject-2.0.so.0 -> libgobject-2.0.so.0.8600.3
1141s lrwxrwxrwx root/root 0 2026-01-01 12:59 ./usr/lib/aarch64-linux-gnu/libgthread-2.0.so.0 -> libgthread-2.0.so.0.8600.3
1141s + apt-get -y install ./libglib2.0-0xyz.deb dconf-gsettings-backend gsettings-desktop-schemas
1141s Reading package lists...
1141s Building dependency tree...
1141s Reading state information...
1141s dconf-gsettings-backend is already the newest version (0.49.0-4).
1141s gsettings-desktop-schemas is already the newest version (50~alpha-1ubuntu1).
1141s Solving dependencies...
1142s The following additional packages will be installed:
1142s xdg-user-dirs
1142s Suggested packages:
1142s low-memory-monitor
1142s The following packages will be REMOVED:
1142s libglib2.0-0t64
1142s The following NEW packages will be installed:
1142s libglib2.0-0xyz xdg-user-dirs
1142s 0 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
1142s Need to get 19.2 kB/1604 kB of archives.
1142s After this operation, 213 kB of additional disk space will be used.
1142s Get:1 /tmp/tmp.7FjsBSa8gG/libglib2.0-0xyz.deb libglib2.0-0xyz arm64 2.86.3-4 [1584 kB]
1144s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 xdg-user-dirs arm64 0.19-1 [19.2 kB]
1144s Fetched 19.2 kB in 2s (9767 B/s)
1144s dpkg: libglib2.0-0t64:arm64: dependency problems, but removing anyway as you requested:
1144s udisks2 depends on libglib2.0-0t64 (>= 2.80.0).
1144s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0).
1144s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~).
1144s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0).
1144s netplan.io depends on libglib2.0-0t64 (>= 2.70.0).
1144s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0).
1144s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0).
1144s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0).
1144s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0).
1144s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56).
1144s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0).
1144s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0).
1144s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0).
1144s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0).
1144s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0).
1144s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0).
1144s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56).
1144s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56).
1144s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4).
1144s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0).
1144s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2).
1144s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4).
1144s fwupd depends on libglib2.0-0t64 (>= 2.83.0).
1144s dconf-service depends on libglib2.0-0t64 (>= 2.83.0).
1144s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0).
1144s bolt depends on libglib2.0-0t64 (>= 2.80.0).
1144s
1144s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89427 files and directories currently installed.)
1144s Removing libglib2.0-0t64:arm64 (2.86.3-4) ...
1144s Selecting previously unselected package libglib2.0-0xyz:arm64.
1144s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89408 files and directories currently installed.)
1144s Preparing to unpack .../libglib2.0-0xyz.deb ...
1144s Unpacking libglib2.0-0xyz:arm64 (2.86.3-4) ...
1144s Selecting previously unselected package xdg-user-dirs.
1144s Preparing to unpack .../xdg-user-dirs_0.19-1_arm64.deb ...
1144s Unpacking xdg-user-dirs (0.19-1) ...
1144s Setting up xdg-user-dirs (0.19-1) ...
1145s Created symlink '/etc/systemd/user/graphical-session-pre.target.wants/xdg-user-dirs.service' → '/usr/lib/systemd/user/xdg-user-dirs.service'.
1145s Setting up libglib2.0-0xyz:arm64 (2.86.3-4) ...
1145s Processing triggers for libc-bin (2.42-2ubuntu4) ...
1145s Processing triggers for man-db (2.13.1-1) ...
1145s ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1145s ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1145s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1145s + n=1
1145s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1145s + echo ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1145s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1145s + n=2
1145s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1145s + echo ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1145s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s n=3
1145s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + echo ok 3 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + n=4
1145s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + echo ok 4 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1145s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + n=5
1145s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + echo ok 5 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + n=6
1145s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + echo ok 6 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1145s + apt-get -y purge libglib2.0-0t64
1145s Reading package lists...
1145s Building dependency tree...
1145s Reading state information...
1146s Solving dependencies...
1146s The following packages will be REMOVED:
1146s libglib2.0-0t64*
1146s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1146s After this operation, 0 B of additional disk space will be used.
1146s (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 ... 89442 files and directories currently installed.)
1146s Purging configuration files for libglib2.0-0t64:arm64 (2.86.3-4) ...
1146s ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1146s ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1146s ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1146s + n=7
1146s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1146s + echo ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1146s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1146s + n=8
1146s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1146s + echo ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1146s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + n=9
1146s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + echo ok 9 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + n=10
1146s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + echo ok 10 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1146s + assert test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + n=11
1146s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + echo ok 11 - test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + assert test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + n=12
1146s + test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + echo ok 12 - test -s /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1146s + apt-get -y purge libglib2.0-0xyz
1147s Reading package lists...
1147s Building dependency tree...
1147s Reading state information...
1147s Solving dependencies...
1147s The following additional packages will be installed:
1147s libglib2.0-0t64
1147s Suggested packages:
1147s low-memory-monitor
1147s The following packages will be REMOVED:
1147s libglib2.0-0xyz*
1147s The following NEW packages will be installed:
1147s libglib2.0-0t64
1147s 0 upgraded, 1 newly installed, 1 to remove and 0 not upgraded.
1147s Need to get 1584 kB of archives.
1147s After this operation, 0 B of additional disk space will be used.
1147s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libglib2.0-0t64 arm64 2.86.3-4 [1584 kB]
1148s Fetched 1584 kB in 0s (10.3 MB/s)
1148s dpkg: libglib2.0-0xyz:arm64: dependency problems, but removing anyway as you requested:
1148s udisks2 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s shared-mime-info depends on libglib2.0-0t64 (>= 2.76.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s python3-gi depends on libglib2.0-0t64 (>= 2.86.0-7~); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s python3-dbus depends on libglib2.0-0t64 (>= 2.16.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s netplan.io depends on libglib2.0-0t64 (>= 2.70.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s netplan-generator depends on libglib2.0-0t64 (>= 2.16.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libxmlb2:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libvolume-key1:arm64 depends on libglib2.0-0t64 (>= 2.18.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libudisks2-0:arm64 depends on libglib2.0-0t64 (>= 2.83.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libqrtr-glib0:arm64 depends on libglib2.0-0t64 (>= 2.56); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libqmi-proxy depends on libglib2.0-0t64 (>= 2.30.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libqmi-glib5:arm64 depends on libglib2.0-0t64 (>= 2.54.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libpolkit-gobject-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libpolkit-agent-1-0:arm64 depends on libglib2.0-0t64 (>= 2.38.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libnetplan1:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libmm-glib0:arm64 depends on libglib2.0-0t64 (>= 2.62.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libmbim-proxy depends on libglib2.0-0t64 (>= 2.56); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libmbim-glib4:arm64 depends on libglib2.0-0t64 (>= 2.56); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libjson-glib-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libjcat1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libgudev-1.0-0:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libgirepository-2.0-0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libfwupd3:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libdconf1:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-utils3:arm64 depends on libglib2.0-0t64 (>= 2.76.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-swap3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-smart3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-part3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-nvme3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-mdraid3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-loop3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-fs3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s libblockdev-crypto3:arm64 depends on libglib2.0-0t64 (>= 2.42.2); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s gir1.2-glib-2.0:arm64 depends on libglib2.0-0t64 (= 2.86.3-4); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s fwupd depends on libglib2.0-0t64 (>= 2.83.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s dconf-service depends on libglib2.0-0t64 (>= 2.83.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s dconf-gsettings-backend:arm64 depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s bolt depends on libglib2.0-0t64 (>= 2.80.0); however:
1148s Package libglib2.0-0t64 is not installed.
1148s Package libglib2.0-0xyz:arm64 which provides libglib2.0-0t64 is to be removed.
1148s
1148s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89442 files and directories currently installed.)
1148s Removing libglib2.0-0xyz:arm64 (2.86.3-4) ...
1148s Selecting previously unselected package libglib2.0-0t64:arm64.
1148s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89423 files and directories currently installed.)
1148s Preparing to unpack .../libglib2.0-0t64_2.86.3-4_arm64.deb ...
1148s Unpacking libglib2.0-0t64:arm64 (2.86.3-4) ...
1148s Setting up libglib2.0-0t64:arm64 (2.86.3-4) ...
1148s Processing triggers for libc-bin (2.42-2ubuntu4) ...
1148s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 89442 files and directories currently installed.)
1148s Purging configuration files for libglib2.0-0xyz:arm64 (2.86.3-4) ...
1148s not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1148s not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1148s not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1148s not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1148s 1..16
1148s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1148s + n=13
1148s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1148s + echo not ok 13 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1148s + failed=1
1148s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1148s + n=14
1148s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1148s + echo not ok 14 - should not have succeeded: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1148s + failed=1
1148s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1148s + n=15
1148s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1148s + echo not ok 15 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/libdconfsettings.so
1148s + failed=1
1148s + assert_not test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1148s + n=16
1148s + test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1148s + echo not ok 16 - should not have succeeded: test -e /usr/lib/aarch64-linux-gnu/gio/modules/giomodule.cache
1148s + failed=1
1148s + echo 1..16
1148s + exit 1
1149s autopkgtest [22:29:26]: test 1065022-futureproofing: -----------------------]
1149s 1065022-futureproofing FLAKY non-zero exit status 1
1149s autopkgtest [22:29:26]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
1150s autopkgtest [22:29:27]: @@@@@@@@@@@@@@@@@@@@ summary
1150s build PASS (superficial)
1150s build-static PASS (superficial)
1150s girepository-tools PASS (superficial)
1150s libgio-2.0-dev-bin PASS (superficial)
1150s libglib2.0-dev PASS (superficial)
1150s installed-tests PASS
1150s closure-refcount PASS
1150s debugcontroller PASS
1150s gdbus-server-auth PASS
1150s gdbus-threading PASS
1150s gmenumodel PASS
1150s mainloop PASS
1150s memory-monitor-dbus PASS
1150s socket PASS
1150s testfilemonitor PASS
1150s thread-pool-slow PASS
1150s threadtests PASS
1150s timeout PASS
1150s timer PASS
1150s 1065022-futureproofing FLAKY non-zero exit status 1